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()>
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;
}
// ////////////////////////////////////////////////////////////////////////