From 2bfdf7e5ca10fddde64e1d0d85183caa8fba681d Mon Sep 17 00:00:00 2001 From: qicosmos Date: Thu, 6 Jun 2019 11:45:46 +0800 Subject: [PATCH] fix --- include/meta_util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>...>; };