mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 08:46:44 +08:00
parent
37359dec0b
commit
5f8b2aa317
@ -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) {
|
||||||
// ...
|
// ...
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user