From 6d4dbbd5cafce3435ca4c7aae020ba17e5a89b87 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 15 Apr 2026 19:11:42 +0200 Subject: Dangling changes and added cross product --- modules/codec/c++/schema_meta.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'modules/codec/c++/schema_meta.hpp') diff --git a/modules/codec/c++/schema_meta.hpp b/modules/codec/c++/schema_meta.hpp index ff66bbb..efa486d 100644 --- a/modules/codec/c++/schema_meta.hpp +++ b/modules/codec/c++/schema_meta.hpp @@ -23,8 +23,8 @@ struct meta_schema { template struct meta_schema> { - using MetaSchema = schema::Void; using Schema = schema::Primitive; + using MetaSchema = schema::Void; }; template @@ -35,38 +35,38 @@ struct meta_schema, schema::Prim template struct meta_schema> { - using MetaSchema = schema::Void; using Schema = schema::Ref; + using MetaSchema = schema::Void; }; template struct meta_schema> { - using MetaSchema = schema::Void; using Schema = schema::Map; + using MetaSchema = schema::Void; }; template struct meta_schema...>> { - using MetaSchema = schema::Struct::MetaSchema,Lit>...>; using Schema = schema::Struct...>; + using MetaSchema = schema::Struct::MetaSchema,Lit>...>; }; template struct meta_schema...>> { - using MetaSchema = schema::Union::MetaSchema,Lit>...>; using Schema = schema::Union...>; + using MetaSchema = schema::Union::MetaSchema,Lit>...>; }; template struct meta_schema> { - using MetaSchema = schema::Tuple::MetaSchema...>; using Schema = schema::Tuple; + using MetaSchema = schema::Tuple::MetaSchema...>; }; template<> struct meta_schema { - using MetaSchema = schema::UInt64; using Schema = schema::String; + using MetaSchema = schema::UInt64; }; /** @@ -75,14 +75,14 @@ struct meta_schema { template struct meta_schema> { // TODO Technically this should be a FixedArray of the inner meta schema, except when the inner meta schema is Void - using MetaSchema = schema::FixedArray; using Schema = schema::Array; + using MetaSchema = schema::FixedArray; }; template struct meta_schema> { // TODO Technically this should be a FixedArray of the inner meta schema, except when the inner meta schema is Void - using MetaSchema = schema::Void; using Schema = schema::FixedArray; + using MetaSchema = schema::Void; }; } -- cgit v1.2.3