diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-12-04 17:01:04 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-12-04 17:01:04 +0100 |
commit | a863f9af9fff0ecb276c6769149d9672961b7533 (patch) | |
tree | 9f7bc499df30e651ae0cc6c2ffca0dd64b4e3769 /modules/codec/forst.h | |
parent | 8da0229a7e172a86c023edc6bb25ba803c68f5d3 (diff) |
codec: Moving structure around
Diffstat (limited to 'modules/codec/forst.h')
-rw-r--r-- | modules/codec/forst.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/modules/codec/forst.h b/modules/codec/forst.h deleted file mode 100644 index 7e8fbf0..0000000 --- a/modules/codec/forst.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include "data.h" - -namespace saw { -namespace encode { -struct KelForst {}; -} -} - -#include "forst.tmpl.hpp" - -namespace saw { -class data<schema::String, encode::KelForst> { -private: - own<buffer> buff_; -public: - data(own<buffer> buff): - buff_{std::move(buff)} - {} -}; - -template<typename... T, string_literal... Keys> -class data<schema::Struct<schema::Member<T,Keys>...>, encode::KelForst> { -private: - own<buffer> buff_; -public: - data(own<buffer> buff): - buff_{std::move(buff)} - {} -}; -} |