From 0113fb86b459b3e356e14cf3cdf0b23e51a59e78 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 27 Feb 2016 08:01:48 -0500 Subject: [PATCH] fix parse error with g++ --- sol/function_types_static.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sol/function_types_static.hpp b/sol/function_types_static.hpp index 1af19f07..11605eed 100644 --- a/sol/function_types_static.hpp +++ b/sol/function_types_static.hpp @@ -39,7 +39,7 @@ struct upvalue_free_function { } static int call (lua_State* L) { - return detail::static_trampoline<&real_call>(L); + return detail::static_trampoline<(&real_call)>(L); } int operator()(lua_State* L) { @@ -62,7 +62,7 @@ struct upvalue_member_function { } static int call (lua_State* L) { - return detail::static_trampoline<&real_call>(L); + return detail::static_trampoline<(&real_call)>(L); } int operator()(lua_State* L) {