Skip to content

Commit

Permalink
Unify naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Feb 23, 2023
1 parent 5911036 commit 989faa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/factory/WFTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -729,9 +729,9 @@ class WFRepeaterTask : public WFGenericTask
this->create = std::move(create);
}

void set_callback(std::function<void (WFRepeaterTask *)> callback)
void set_callback(std::function<void (WFRepeaterTask *)> cb)
{
this->callback = std::move(callback);
this->callback = std::move(cb);
}

protected:
Expand Down

0 comments on commit 989faa6

Please sign in to comment.