diff --git a/sol/function.hpp b/sol/function.hpp index 94c7a959..228f7734 100644 --- a/sol/function.hpp +++ b/sol/function.hpp @@ -109,7 +109,7 @@ inline std::function get_std_func(types t, types<>, lua_St template inline std::function get(types>, lua_State* L, int index = -1) { - typedef typename function_traits fx_t; + typedef function_traits fx_t; typedef typename fx_t::args_type args_t; typedef typename tuple_types::type ret_t; return get_std_func(args_t(), ret_t(), L, index);