diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-07-31 14:15:20 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-07-31 14:15:20 +0200 |
commit | 32004c2a672f99ee5c242c2c84d30e00bb31cf25 (patch) | |
tree | eaf7b06ba370358b37a3acd87dc3d3922d6bfa53 | |
parent | d5bf26c38a28bfe114511375ed125505f8325514 (diff) |
Fixed typos and missing typedef
-rw-r--r-- | modules/codec/c++/forst.hpp | 4 |
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} { } |