From 20c4fee60e21658c93d045752633915e333afeb5 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Wed, 30 Mar 2016 02:07:09 -0400 Subject: [PATCH] unused parameter derp --- sol/table_core.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/table_core.hpp b/sol/table_core.hpp index c56c562a..bc95cacb 100644 --- a/sol/table_core.hpp +++ b/sol/table_core.hpp @@ -364,7 +364,7 @@ public: template table create_named(Name&& name, Args&&... args) { static const int narr = static_cast(meta::count_if_2_pack::value); - return create(lua_state(), narr, sizeof...(Args) / 2 - narr, std::forward(args)...); + return create(std::forward(name), narr, sizeof...(Args) / 2 - narr, std::forward(args)...); } }; } // sol