From 30da48151f58803968ca3ef5d42e66a9223d80a4 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 27 Jan 2025 18:17:21 -0500 Subject: progress --- include/framework/structure/ExtensionStructure.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/framework/structure') 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 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)); } -- cgit v1.2.3