diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-08 19:03:09 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-08 19:03:09 +0100 |
| commit | 87db03e9ffa559eaf5f6b970ad42776f33ae34b2 (patch) | |
| tree | 08cb174ef076709c5a8d35c919a3554df532756b /modules/codec/c++/data.hpp | |
| parent | 043325c3a8ac3c4856a7b6944918e15cb7c36938 (diff) | |
| download | forstio-forstio-87db03e9ffa559eaf5f6b970ad42776f33ae34b2.tar.gz | |
dangling
Diffstat (limited to 'modules/codec/c++/data.hpp')
| -rw-r--r-- | modules/codec/c++/data.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index dca98ac..585501b 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -82,8 +82,9 @@ struct native_data_type<schema::Primitive<schema::FloatingPoint, 8>> { using type = double; }; +// Give a variable for setting the default encoding. Maybe add a static assert to guarantee that this encoding supports immediate access? #ifndef FORSTIO_DEFAULT_DATA_ENCODING -#define FORSTIO_DEFAULT_DATA_ENCODING encode::Native +#define FORSTIO_DEFAULT_DATA_ENCODING ::saw::encode::Native #endif template<typename T, typename Encoding = FORSTIO_DEFAULT_DATA_ENCODING> |
