From 51d0394f250b2d7ce521a3c7136f018c428ddc92 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 23 Oct 2025 17:05:19 +0200 Subject: Fixed Schema request --- lib/c++/descriptor.hpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'lib/c++/descriptor.hpp') diff --git a/lib/c++/descriptor.hpp b/lib/c++/descriptor.hpp index 2ba2c97..e81738e 100644 --- a/lib/c++/descriptor.hpp +++ b/lib/c++/descriptor.hpp @@ -37,15 +37,11 @@ struct CellField< > > { using Descriptor = Desc; - using Schema = CellField...>>; - using MetaSchema = FixedArray; }; template struct CellFieldStruct { - using Schema = CellFieldStruct>; - using InnerSchema = Struct; - using MetaSchema = typename InnerSchema::MetaSchema; + using Descriptor = Desc; // using MetaSchema = FixedArray; }; @@ -243,16 +239,22 @@ public: namespace saw { template struct meta_schema> { - using MetaSchema = schema::Void; + using MetaSchema = schema::Void; using Schema = kel::lbm::sch::Cell; }; template struct meta_schema> { - using MetaSchema = schema::FixedArray; + using MetaSchema = schema::FixedArray; using Schema = kel::lbm::sch::CellField; }; +template +struct meta_schema>> { + using MetaSchema = schema::FixedArray; + using Schema = kel::lbm::sch::CellFieldStruct>; +}; + template class data, Encode> final { public: -- cgit v1.2.3