diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-01-27 18:17:21 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-01-27 18:17:21 -0500 |
| commit | 30da48151f58803968ca3ef5d42e66a9223d80a4 (patch) | |
| tree | 23cad3718bca116016caf5aba375a3eb3a490328 /include/framework/structure/ExtensionStructure.h | |
| parent | f149a2459cfc2007f755d792b3c4e567d30c132f (diff) | |
| download | dynamic-extension-30da48151f58803968ca3ef5d42e66a9223d80a4.tar.gz | |
progress
Diffstat (limited to 'include/framework/structure/ExtensionStructure.h')
| -rw-r--r-- | include/framework/structure/ExtensionStructure.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/framework/structure/ExtensionStructure.h b/include/framework/structure/ExtensionStructure.h index c304f1c..62c27f5 100644 --- a/include/framework/structure/ExtensionStructure.h +++ b/include/framework/structure/ExtensionStructure.h @@ -51,7 +51,6 @@ public: new_struct->m_levels.push_back(m_levels[i]->clone()); } - new_struct->m_refcnt = 0; return new_struct; } @@ -156,8 +155,7 @@ public: return cnt; } - inline void perform_reconstruction(ReconstructionTask task, - BuffView *bv=nullptr) { + inline void perform_reconstruction(ReconstructionTask task) { /* perform the reconstruction itself */ std::vector<const ShardType *> shards; for (ShardID shid : task.sources) { @@ -172,10 +170,6 @@ public: shards.push_back(m_levels[shid.level_idx]->get_shard(i)); } } - } else if (shid == buffer_shid) { - assert(bv); - ShardType *buffer_shard = new ShardType(std::move(bv)); - shards.push_back(buffer_shard); } else { shards.push_back(m_levels[shid.level_idx]->get_shard(shid.shard_idx)); } |