From d44a2152166ec852620293281fef9a459d8db766 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 12 Dec 2013 14:36:09 -0500 Subject: [PATCH] Remove trivial destructors from lua_func types --- sol/lua_function.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sol/lua_function.hpp b/sol/lua_function.hpp index c29b8963..5fc65538 100644 --- a/sol/lua_function.hpp +++ b/sol/lua_function.hpp @@ -195,8 +195,6 @@ struct lambda_lua_func : public lua_func { stack::push(L, r); return sizeof...(TRn); } - - ~lambda_lua_func() {} }; template::value> @@ -224,8 +222,6 @@ struct explicit_lua_func : public lua_func { stack::push(L, std::move(r)); return sizeof...(TRn); } - - ~explicit_lua_func() {} }; template @@ -264,8 +260,6 @@ struct explicit_lua_func : public lua_func { stack::push(L, r); return sizeof...(TRn); } - - ~explicit_lua_func() {} }; } // sol