Fix example code in the tutorial documentation

* Closes #30
This commit is contained in:
Denis Blank 2020-04-04 21:56:54 +02:00
parent 37359dec0b
commit 5f8b2aa317

View File

@ -202,7 +202,7 @@ for (int i = 2; i < 5; ++i) {
container.emplace_back(cti::make_ready_continuable(i)); container.emplace_back(cti::make_ready_continuable(i));
} }
cti::when_all(v) cti::when_all(std::move(v))
.then([](std::vector<int> resolved) { .then([](std::vector<int> resolved) {
// ... // ...
}); });