Skip to content

Commit 8ce18d1

Browse files
[FIX] fix needed for the new commit of the FastFlow library
1 parent 738f8f9 commit 8ce18d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wf/multipipe.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,13 +419,13 @@ class MultiPipe: public ff::ff_pipeline
419419
}
420420
// Case 1.2 (at least two nested Matrioska)
421421
else {
422-
last->cleanup_firstset(false);
423422
auto first_set_last = last->getFirstSet();
423+
last->remove_from_cleanuplist(first_set_last);
424424
std::vector<ff::ff_node *> second_set_secondToLast;
425425
for (size_t i=0; i<first_set_last.size(); i++) {
426426
second_set_secondToLast.push_back(first_set_last[i]);
427427
}
428-
secondToLast->change_secondset(second_set_secondToLast, true);
428+
secondToLast->change_secondset(second_set_secondToLast, true, true);
429429
delete last;
430430
last = secondToLast;
431431
secondToLast = nullptr;

0 commit comments

Comments
 (0)