Skip to content

Commit

Permalink
when_all: Use get0 instead of untuple
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Ávila de Espíndola <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
espindola authored and avikivity committed Aug 27, 2020
1 parent a6102e5 commit 9c7ada6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/seastar/core/when_all.hh
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class extract_values_from_futures_tuple {
auto prepare_result = [] (auto futures) noexcept {
auto fs = tuple_filter_by_type<internal::future_has_value>(std::move(futures));
return tuple_map(std::move(fs), [] (auto&& e) {
return internal::untuple(e.get());
return e.get0();
});
};

Expand Down

0 comments on commit 9c7ada6

Please sign in to comment.