summaryrefslogtreecommitdiffstats
path: root/include/framework/structure
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-01-31 16:16:28 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-01-31 16:16:28 -0500
commit3061bfbf1c4b5092fa4234de3105a615fcef18ea (patch)
tree4c41cdf3b8e3af6e38ba1c8f283d2e35086cc2af /include/framework/structure
parent30da48151f58803968ca3ef5d42e66a9223d80a4 (diff)
downloaddynamic-extension-3061bfbf1c4b5092fa4234de3105a615fcef18ea.tar.gz
More updates
Diffstat (limited to 'include/framework/structure')
-rw-r--r--include/framework/structure/ExtensionStructure.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/framework/structure/ExtensionStructure.h b/include/framework/structure/ExtensionStructure.h
index 62c27f5..60fb6c7 100644
--- a/include/framework/structure/ExtensionStructure.h
+++ b/include/framework/structure/ExtensionStructure.h
@@ -27,7 +27,10 @@ class ExtensionStructure {
typedef std::vector<std::shared_ptr<InternalLevel<ShardType, QueryType>>>
LevelVector;
public:
- ExtensionStructure() = default;
+ ExtensionStructure() {
+ m_levels.emplace_back(std::make_shared<InternalLevel<ShardType, QueryType>>(0));
+ }
+
~ExtensionStructure() = default;
/*
@@ -217,7 +220,6 @@ public:
}
void append_l0(std::shared_ptr<ShardType> shard) {
- // FIXME: ensure that there's always a level 0 in the version
m_levels[0]->append(shard);
}