summaryrefslogtreecommitdiff
path: root/modules/codec/c++/schema.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++/schema.hpp')
-rw-r--r--modules/codec/c++/schema.hpp4
1 files changed, 4 insertions, 0 deletions
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 <typename Schema, string_literal Literal> 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<typename Key, typename Value> struct Map {
@@ -114,6 +116,8 @@ class Ref {
template<typename Schema>
class Ptr {
static constexpr string_literal name = "Ptr";
+
+ using ValueType = Schema;
};
struct String {