Fixed Travis build.

Regression was introduced in 771a51224e.
This commit is contained in:
23rd 2019-02-18 18:54:02 +03:00 committed by John Preston
parent dec8264625
commit 9d8b80cbce
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ public:
auto maybeError = std::optional<Error>();
auto collecting = stream->events().start(
[&](Value && value) { values.push_back(std::move(value)); },
[](Error &&error) { maybeError = std::move(error); },
[&](Error &&error) { maybeError = std::move(error); },
[] {});
std::move(initial) | start_to_stream(*stream, _lifetime);
collecting.destroy();