Skip to content
Snippets Groups Projects
Commit c7073a89 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile (missing static in template)

parent c86857e6
No related branches found
No related tags found
No related merge requests found
......@@ -498,7 +498,7 @@ static int luaCall(lua_State *L, void (*_f)(t0)) {
return 1;
};
template < >
int luaCall(lua_State *L,void (*_f)()) {
static int luaCall(lua_State *L,void (*_f)()) {
if (lua_gettop(L)==1)
lua_remove(L,1);
(*(_f))();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment