diff options
Diffstat (limited to 'src/codec/schema.h')
-rw-r--r-- | src/codec/schema.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codec/schema.h b/src/codec/schema.h index d040a7a..5021d33 100644 --- a/src/codec/schema.h +++ b/src/codec/schema.h @@ -6,7 +6,7 @@ namespace saw { namespace schema { // NOLINTBEGIN -template <typename T, string_literal Literal> struct NamedMember {}; +template <typename T, string_literal Literal> struct Member {}; template <typename... T> struct Struct { static_assert( @@ -15,7 +15,7 @@ template <typename... T> struct Struct { }; template <typename... V, string_literal... K> -struct Struct<NamedMember<V, K>...> {}; +struct Struct<Member<V, K>...> {}; template <typename... T> struct Union { static_assert( @@ -24,7 +24,7 @@ template <typename... T> struct Union { }; template <typename... V, string_literal... K> -struct Union<NamedMember<V, K>...> {}; +struct Union<Member<V, K>...> {}; template <typename T> struct Array {}; |