summaryrefslogtreecommitdiff
path: root/modules/codec/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++')
-rw-r--r--modules/codec/c++/forst.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/codec/c++/forst.hpp b/modules/codec/c++/forst.hpp
index 16f55c9..4415b1f 100644
--- a/modules/codec/c++/forst.hpp
+++ b/modules/codec/c++/forst.hpp
@@ -32,6 +32,11 @@ private:
our<buffer> buff_;
uint64_t displacement_;
public:
+ data():
+ buff_{heap<array_buffer>()},
+ displacement_{0u}
+ {}
+
/**
* Constructor for root elements
*/