diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-09-17 17:52:51 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-09-17 17:52:51 -0400 |
| commit | 79dcefa5002f6411e05169a226ae9e3cd1114bd7 (patch) | |
| tree | 64d3c31850a7a0f9a57dcef75f385481fd9d8aef /include/util | |
| parent | 7c3fe4ea760f4773f0eb1a98ed3ba493a36015e2 (diff) | |
| parent | 601481ed0a8061a372900cfb6761e8de81651339 (diff) | |
| download | dynamic-extension-79dcefa5002f6411e05169a226ae9e3cd1114bd7.tar.gz | |
Merge branch 'new-concurrency' of github.com:dbrumbaugh/dynamic-extension-working into new-concurrency
Diffstat (limited to 'include/util')
| -rw-r--r-- | include/util/types.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/util/types.h b/include/util/types.h index c10f7ff..88774f5 100644 --- a/include/util/types.h +++ b/include/util/types.h @@ -115,7 +115,7 @@ public: size_t reccnt, ReconstructionType type) { m_tasks.push_back({std::move(shards), target, reccnt, type}); - + total_reccnt += reccnt; } void add_reconstruction(level_index source, level_index target, @@ -130,7 +130,10 @@ public: total_reccnt += reccnt; } - void add_reconstruction(ReconstructionTask task) { m_tasks.push_back(task); } + void add_reconstruction(ReconstructionTask task) { + m_tasks.push_back(task); + total_reccnt += task.reccnt; + } size_t get_total_reccnt() { return total_reccnt; } |