From cc25c5d6439e5b84ff2a1f87686c974a75ef430c Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 9 Feb 2026 13:25:27 +0100 Subject: Adding better constructors --- modules/codec/c++/schema.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/codec/c++/schema.hpp') diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index decc027..018cb41 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -31,7 +31,9 @@ template struct Member { static constexpr string_literal name = "Member"; using ValueType = Schema; + // To be deprecated static constexpr string_literal KeyLiteral = Literal; + static constexpr string_literal Key = Literal; }; template struct Map { @@ -114,6 +116,8 @@ class Ref { template class Ptr { static constexpr string_literal name = "Ptr"; + + using ValueType = Schema; }; struct String { -- cgit v1.2.3