From 989faa6e8057b960eff713ca96e1cac810421589 Mon Sep 17 00:00:00 2001 From: Xie Han <63350856@qq.com> Date: Thu, 23 Feb 2023 20:45:16 +0800 Subject: [PATCH] Unify naming. --- src/factory/WFTask.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/factory/WFTask.h b/src/factory/WFTask.h index a9e958c2e0..945646e221 100644 --- a/src/factory/WFTask.h +++ b/src/factory/WFTask.h @@ -729,9 +729,9 @@ class WFRepeaterTask : public WFGenericTask this->create = std::move(create); } - void set_callback(std::function callback) + void set_callback(std::function cb) { - this->callback = std::move(callback); + this->callback = std::move(cb); } protected: