diff --git a/include/meta_util.hpp b/include/meta_util.hpp index 695b382..cec0265 100644 --- a/include/meta_util.hpp +++ b/include/meta_util.hpp @@ -29,7 +29,7 @@ namespace rest_rpc{ typedef Ret(*pointer)(Arg, Args...); typedef std::tuple tuple_type; - typedef std::tuple>...> bare_tuple_type; + typedef std::tuple>, std::remove_const_t>...> bare_tuple_type; using args_tuple = std::tuple>...>; using args_tuple_2nd = std::tuple>...>; };