@@ -436,7 +436,7 @@ void SerialContainerPrivate::pruneInterface(InterfaceFlags accepted) {
436436 // FIRST child
437437 first.pimpl ()->pruneInterface (accepted & START_IF_MASK);
438438 // connect first child's (start) push interface
439- setChildsPushBackwardInterface (first);
439+ setChildsPushBackwardInterface (first. pimpl () );
440440 // validate that first child's and this container's start interfaces match
441441 validateInterface<START_IF_MASK>(*first.pimpl (), accepted);
442442 // connect first child's (start) pull interface
@@ -453,7 +453,7 @@ void SerialContainerPrivate::pruneInterface(InterfaceFlags accepted) {
453453 }
454454
455455 // connect last child's (end) push interface
456- setChildsPushForwardInterface (last);
456+ setChildsPushForwardInterface (last. pimpl () );
457457 // validate that last child's and this container's end interfaces match
458458 validateInterface<END_IF_MASK>(*last.pimpl (), accepted);
459459 // connect last child's (end) pull interface
@@ -566,8 +566,8 @@ void ParallelContainerBasePrivate::pruneInterface(InterfaceFlags accepted) {
566566 child_impl->pruneInterface (accepted);
567567 validateInterfaces (*child_impl, accepted, first);
568568 // initialize push connections of children according to their demands
569- setChildsPushForwardInterface (*child );
570- setChildsPushBackwardInterface (*child );
569+ setChildsPushForwardInterface (child_impl );
570+ setChildsPushBackwardInterface (child_impl );
571571 first = false ;
572572 } catch (InitStageException& e) {
573573 exceptions.append (e);
0 commit comments