diff --git a/sol/function.hpp b/sol/function.hpp index 0edbf854..47100c16 100644 --- a/sol/function.hpp +++ b/sol/function.hpp @@ -96,7 +96,7 @@ struct pusher> { set_isconvertible_fx(is_convertible(), t, L, std::forward(fx)); } - template::type> + template::type> static void set_memfx(types, lua_State* L, Fx&& fx){ set_memfx(types(), L, std::forward(fx)); }