From 03f047ed05e09198381f3f47a2e2089761c42033 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 30 May 2014 23:35:26 -0400 Subject: [PATCH] Fix compiler error in GCC --- sol/function.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);