diff --git a/sol/function.hpp b/sol/function.hpp index f532962e..6a68d728 100644 --- a/sol/function.hpp +++ b/sol/function.hpp @@ -65,11 +65,6 @@ public: void operator()(Args&&... args) { call<>(std::forward(args)...); } - - template - auto operator()(types, Args&&... args) { - return call(std::forward(args)...); - } template auto call(Args&&... args) -> decltype(invoke(types(), sizeof...(Args))) {