summaryrefslogtreecommitdiffstats
path: root/include/framework/DynamicExtension.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/DynamicExtension.h')
-rw-r--r--include/framework/DynamicExtension.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h
index 5e9bcee..08e2243 100644
--- a/include/framework/DynamicExtension.h
+++ b/include/framework/DynamicExtension.h
@@ -40,7 +40,10 @@ public:
: m_scale_factor(scale_factor)
, m_max_delete_prop(max_delete_prop)
, m_sched(memory_budget, thread_cnt)
- { }
+ {
+ m_buffers.push_back(new Buffer(buffer_cap, max_delete_prop*buffer_cap));
+ m_versions.push_back(new Structure(buffer_cap, scale_factor, max_delete_prop));
+ }
~DynamicExtension() {
for (size_t i=0; i<m_buffers.size(); i++) {