diff --git a/sol/function_types.hpp b/sol/function_types.hpp index d121c8c6..f96481df 100644 --- a/sol/function_types.hpp +++ b/sol/function_types.hpp @@ -259,7 +259,7 @@ struct base_function { } template - static void func_gc (std::true_type, lua_State* L) { + static void func_gc (std::true_type, lua_State*) { }