diff --git a/include/zRPCSupport.hpp b/include/zRPCSupport.hpp index dce94cb..b6e8100 100644 --- a/include/zRPCSupport.hpp +++ b/include/zRPCSupport.hpp @@ -107,7 +107,7 @@ using isVoidReturn = std::is_void::return_type>; * @tparam F Functor type to check the return type */ template -using returnType = callable_traits::return_type; +using returnType = typename callable_traits::return_type; /** * @brief Helper routine to get the number of arguments to F @@ -115,7 +115,7 @@ using returnType = callable_traits::return_type; * @tparam F Functor type to check number of arguments */ template -using numArgs = callable_traits::num_args; +using numArgs = typename callable_traits::num_args; /** * @brief Helper routine to get the types of arguments to F @@ -123,7 +123,7 @@ using numArgs = callable_traits::num_args; * @tparam F Functor type to check types of arguments */ template -using typeArgs = callable_traits::type_args; +using typeArgs = typename callable_traits::type_args; /** * @brief Call the function using C++17 fold expression for the arguments @@ -160,4 +160,4 @@ decltype(auto) call(F func, std::tuple &args) } } // namespace support -} // namespace zRPC \ No newline at end of file +} // namespace zRPC