diff options
Diffstat (limited to 'docs/tutorials/013/task.cpp')
-rw-r--r-- | docs/tutorials/013/task.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/013/task.cpp b/docs/tutorials/013/task.cpp index 6d6bf88b8cc..75c0a0d3341 100644 --- a/docs/tutorials/013/task.cpp +++ b/docs/tutorials/013/task.cpp @@ -37,11 +37,11 @@ Task::~Task (void) enabled, they inherit the thread-pool size. Make sure that the subtasks can be opened before we open our own threadpool. */ -int Task::open (int threads) +int Task::start (int threads) { if (next_) { - if (next_->open (threads) == -1) + if (next_->start (threads) == -1) { return -1; } |