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.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 18b7b27..dca98ac 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -383,8 +383,8 @@ private:
};
/*
-template<typename T, typename N>
-class data<schema::Ref<schema::Primitive<T,N>>, encode::Native {
+template<typename T, uint64_t N>
+class data<schema::Ref<schema::Primitive<T,N>>, encode::Native> {
public:
using Schema = schema::Ref<schema::Primitive<T,N>>;
private:
@@ -407,7 +407,7 @@ public:
* Union type for native data classes
*/
template<typename... T, string_literal... literals>
-class data<schema::Union<schema::Member<T, literals>...>, encode::Native> {
+class data<schema::Union<schema::Member<T, literals>...>, encode::Native> final {
public:
using Schema = schema::Union<schema::Member<T,literals>...>;
using MetaSchema = typename meta_schema<Schema>::MetaSchema;