fix parse error with g++

This commit is contained in:
ThePhD 2016-02-27 08:01:48 -05:00
parent d42efd7fdf
commit 0113fb86b4

View File

@ -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) {