This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
ffnamespace:tutorial [2015/09/08 14:53] torquati |
ffnamespace:tutorial [2015/09/08 14:54] torquati |
||
---|---|---|---|
Line 49: | Line 49: | ||
}; | }; | ||
int main() { | int main() { | ||
- | ff_Pipe<> pipe(make_unique<firstStage>(), make_unique<ff_node_F<fftask> >(secondStage), make_unique<thirdStage>()); | + | ff_Pipe<> pipe(make_unique<firstStage>(), |
+ | make_unique<ff_node_F<fftask_t> >(secondStage), | ||
+ | make_unique<thirdStage>()); | ||
if (pipe.run_and_wait_end()<0) error("running pipe"); | if (pipe.run_and_wait_end()<0) error("running pipe"); | ||
return 0; | return 0; |