Skip to content

Commit

Permalink
Merge pull request #84 from idealvin/dev
Browse files Browse the repository at this point in the history
fix #83
  • Loading branch information
idealvin committed Jul 11, 2020
2 parents 1516172 + 0b7d5fb commit fa20cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/co/impl/scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class TaskManager {
_task_co.push_back(co);
}

void get_tasks(std::vector<Closure*>& task_cb, std::vector<Coroutine*> task_co) {
void get_tasks(std::vector<Closure*>& task_cb, std::vector<Coroutine*>& task_co) {
::MutexGuard g(_mtx);
if (!_task_cb.empty()) _task_cb.swap(task_cb);
if (!_task_co.empty()) _task_co.swap(task_co);
Expand Down

0 comments on commit fa20cc3

Please sign in to comment.