Commit c160a53f authored by Hauke Goldhammer's avatar Hauke Goldhammer

Fix caf::bb::container_source

parent 5af7acef
......@@ -92,7 +92,7 @@ behavior container_source(container_source_type<Container>* self, Container xs,
},
[self](const unit_t&) { return self->state.at_end(); });
// Add the remaining sinks.
std::initializer_list<unit_t>{src.ptr()->add_outbound_path(sinks)...};
unit(src.ptr()->add_outbound_path(sinks)...);
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