summaryrefslogtreecommitdiff
path: root/lib/topology_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/topology_handler.cpp')
-rw-r--r--lib/topology_handler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/topology_handler.cpp b/lib/topology_handler.cpp
index af4dead..4f12619 100644
--- a/lib/topology_handler.cpp
+++ b/lib/topology_handler.cpp
@@ -39,8 +39,10 @@ void BlockActor::handle_topology(
resize_fill_back(this->output_configs, num_outputs);
//resize the bytes consumed/produced
- resize_fill_grow(this->items_consumed, num_inputs, 0);
- resize_fill_grow(this->items_produced, num_outputs, 0);
+ resize_fill_grow(this->stats.items_consumed, num_inputs, 0);
+ resize_fill_grow(this->stats.tags_consumed, num_inputs, 0);
+ resize_fill_grow(this->stats.items_produced, num_outputs, 0);
+ resize_fill_grow(this->stats.tags_produced, num_outputs, 0);
//resize all work buffers to match current connections
this->input_items.resize(num_inputs);