mirror of
https://github.com/sogou/workflow.git
synced 2026-10-17 04:31:07 +08:00
Remove std::move()
This commit is contained in:
@@ -185,7 +185,7 @@ inline WFFacilities::WaitGroup::WaitGroup(int n) : nleft(n)
|
||||
auto *pr = new WFPromise<void>();
|
||||
|
||||
this->task = WFTaskFactory::create_counter_task(1, __wait_group_callback);
|
||||
this->future = std::move(pr->get_future());
|
||||
this->future = pr->get_future();
|
||||
this->task->user_data = pr;
|
||||
this->task->start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user