Commit 54b2c98b authored by Hauke Goldhammer's avatar Hauke Goldhammer

Fix bb::stream_reader

parent 283d3264
...@@ -97,7 +97,7 @@ behavior stream_reader(stream_source_type<InputStream>* self, ...@@ -97,7 +97,7 @@ behavior stream_reader(stream_source_type<InputStream>* self,
}, },
[self](const unit_t&) { return self->state.at_end(); }); [self](const unit_t&) { return self->state.at_end(); });
// Add the remaining sinks. // Add the remaining sinks.
std::initializer_list<unit_t>{src.ptr()->add_outbound_path(sinks)...}; unit(src.ptr()->add_outbound_path(sinks)...);
return {}; return {};
} }
......
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