summaryrefslogtreecommitdiff
path: root/lib/task_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/task_main.cpp')
-rw-r--r--lib/task_main.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/task_main.cpp b/lib/task_main.cpp
index 6c3c23d..01e38ce 100644
--- a/lib/task_main.cpp
+++ b/lib/task_main.cpp
@@ -49,12 +49,7 @@ void BlockActor::task_main(void)
output_inline_index < num_outputs and
buff.get_affinity() == this->buffer_affinity
){
- //copy buffer reference but push with zero length, same offset
- SBuffer new_obuff = buff;
- new_obuff.length = 0;
- this->output_queues.consume(output_inline_index);
- this->output_queues.push(output_inline_index, new_obuff); //you got inlined!
- output_inline_index++; //done do this output port again
+ this->output_queues.set_inline(output_inline_index++, buff);
}
//*/
}