summaryrefslogtreecommitdiff
path: root/modules/codec/c++/data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++/data.hpp')
-rw-r--r--modules/codec/c++/data.hpp3
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>