From c7073a8950f2030c84682ef045a855da2796a137 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 10 Mar 2010 10:56:36 +0000
Subject: [PATCH] fix compile (missing static in template)

---
 Common/LuaBindings.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Common/LuaBindings.h b/Common/LuaBindings.h
index b6d675f8bf..fca8ec1f5d 100644
--- a/Common/LuaBindings.h
+++ b/Common/LuaBindings.h
@@ -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))();
-- 
GitLab