mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fix parse error with g++
This commit is contained in:
parent
d42efd7fdf
commit
0113fb86b4
|
@ -39,7 +39,7 @@ struct upvalue_free_function {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int call (lua_State* L) {
|
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) {
|
int operator()(lua_State* L) {
|
||||||
|
@ -62,7 +62,7 @@ struct upvalue_member_function {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int call (lua_State* L) {
|
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) {
|
int operator()(lua_State* L) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user