Skip to content
Snippets Groups Projects
Commit 10738fa7 authored by g0dil's avatar g0dil
Browse files

PPI: Add missing return in MultiConnectorMixin connect

parent 2c1329c0
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,9 @@ typename boost::enable_if<
typename Source::ConnectorType & >::type
senf::ppi::connect(Source & source, Target & target mpp_FnParamsKomma())
{
connect(source.newConnector(mpp_CallParams()), target);
typename Source::ConnectorType & c (source.newConnector(mpp_CallParams()));
connect(c, target);
return c;
}
template <class Source, class Target mpp_TplParamsKomma()>
......@@ -165,7 +167,9 @@ typename boost::enable_if<
typename Target::ConnectorType & >::type
senf::ppi::connect(Source & source, Target & target mpp_FnParamsKomma())
{
connect(source, target.newConnector(mpp_CallParams()));
typename Target::ConnectorType & c (target.newConnector(mpp_CallParams()));
connect(source, c);
return c;
}
// ////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment