summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/codec/c++/forst.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/codec/c++/forst.hpp b/modules/codec/c++/forst.hpp
index 2cf72a6..8dd3615 100644
--- a/modules/codec/c++/forst.hpp
+++ b/modules/codec/c++/forst.hpp
@@ -91,6 +91,8 @@ public:
template<typename... T, string_literal... Keys>
class data<schema::Struct<schema::Member<T,Keys>...>, encode::KelForst> {
+public:
+ using Schema = schema::Struct<schema::Member<T,Keys>...>;
private:
/**
* Buffer holding the whole packet
@@ -102,7 +104,7 @@ private:
uint64_t displacement_;
public:
data():
- buff_{share<array_buffer>(impl::forstio_codec_info<Schema>::static_size)},
+ buff_{share<array_buffer>(impl::forst_codec_info<Schema>::static_size)},
displacement_{0u}
{
}