summaryrefslogtreecommitdiffstats
path: root/include/util
diff options
context:
space:
mode:
Diffstat (limited to 'include/util')
-rw-r--r--include/util/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/util/types.h b/include/util/types.h
index 6e8fd69..c10f7ff 100644
--- a/include/util/types.h
+++ b/include/util/types.h
@@ -122,9 +122,9 @@ public:
size_t reccnt, ReconstructionType type) {
if (type == ReconstructionType::Merge) {
- m_tasks.push_back({{{source, all_shards_idx}, {target, all_shards_idx}}, target, reccnt});
+ m_tasks.push_back({{{source, all_shards_idx}, {target, all_shards_idx}}, target, reccnt, type});
} else {
- m_tasks.push_back({{{source, all_shards_idx}}, target, reccnt});
+ m_tasks.push_back({{{source, all_shards_idx}}, target, reccnt, type});
}
total_reccnt += reccnt;