summaryrefslogtreecommitdiff
path: root/src/codec/schema.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec/schema.h')
-rw-r--r--src/codec/schema.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codec/schema.h b/src/codec/schema.h
index df9f443..2a548df 100644
--- a/src/codec/schema.h
+++ b/src/codec/schema.h
@@ -26,17 +26,17 @@ template <typename... T> struct Union {
template <typename... V, string_literal... K>
struct Union<Member<V, K>...> {};
-template <typename T> struct Array {};
+template <typename T, size_t Dim = 1> struct Array {};
template <class T> struct is_array {
constexpr static bool value = false;
};
-template <class T> struct is_array<schema::Array<T>> {
+template <class T, size_t Dim> struct is_array<schema::Array<T,Dim>> {
constexpr static bool value = true;
};
-template<typename T, size_t S> struct FixedArray {};
+template<typename T, size_t... S> struct FixedArray {};
template <typename... T> struct Tuple {};