diff --git a/include/jsonrpccxx/typemapper.hpp b/include/jsonrpccxx/typemapper.hpp index e53166e..05c9c87 100644 --- a/include/jsonrpccxx/typemapper.hpp +++ b/include/jsonrpccxx/typemapper.hpp @@ -4,6 +4,7 @@ #include "nlohmann/json.hpp" #include #include +#include #include #include @@ -19,6 +20,10 @@ namespace jsonrpccxx { constexpr json::value_t GetType(type>) { return json::value_t::array; } + template + constexpr json::value_t GetType(type>) { + return json::value_t::array; + } template constexpr json::value_t GetType(type) { if (std::is_enum::value) {