Commit 4f554f17 authored by Hauke Goldhammer's avatar Hauke Goldhammer

Fix caf::bb::container_source

parent 555b27a4
......@@ -45,7 +45,7 @@ struct container_source_state {
// -- properties -------------------------------------------------------------
size_t remaining() const {
size_t remaining() {
return static_cast<size_t>(std::distance(i, xs.end()));
}
......@@ -94,7 +94,7 @@ behavior container_source(container_source_type<Container>* self, Container xs,
// Add the remaining sinks.
std::initializer_list<unit_t>{src.ptr()->add_outbound_path(sinks)...};
return {};
};
}
/// Convenience function for spawning container sources.
......
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