summaryrefslogtreecommitdiff
path: root/modules/codec/c++/schema_meta.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++/schema_meta.hpp')
-rw-r--r--modules/codec/c++/schema_meta.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/codec/c++/schema_meta.hpp b/modules/codec/c++/schema_meta.hpp
index 9b111e3..80b6686 100644
--- a/modules/codec/c++/schema_meta.hpp
+++ b/modules/codec/c++/schema_meta.hpp
@@ -33,6 +33,12 @@ struct meta_schema<schema::MixedPrecision<schema::Primitive<TA,NA>, schema::Prim
using MetaSchema = schema::Void;
};
+template<typename T>
+struct meta_schema<schema::Ref<T>> {
+ using MetaSchema = schema::Void;
+ using Schema = schema::Ref<T>;
+};
+
template<typename Key, typename Value>
struct meta_schema<schema::Map<Key,Value>> {
using MetaSchema = schema::Void;