Commit 0cfd93bd authored by Xavier Thompson's avatar Xavier Thompson

Adapt exception.cpp

parent fbbff11a
...@@ -25,7 +25,7 @@ Join<void> fail_join() { ...@@ -25,7 +25,7 @@ Join<void> fail_join() {
} }
Join<void> join(int max) { Join<void> join(int max) {
std::vector<Future<Fork<int>::promise_type>> v; std::vector<Future<int>> v;
for (int i = 0; i < max; i++) { for (int i = 0; i < max; i++) {
v.push_back(co_await fork(fib())); v.push_back(co_await fork(fib()));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment