unused parameter derp

This commit is contained in:
ThePhD 2016-03-30 02:07:09 -04:00
parent 92c388e30a
commit 20c4fee60e

View File

@ -364,7 +364,7 @@ public:
template <typename Name, typename... Args>
table create_named(Name&& name, Args&&... args) {
static const int narr = static_cast<int>(meta::count_if_2_pack<std::is_integral, Args...>::value);
return create(lua_state(), narr, sizeof...(Args) / 2 - narr, std::forward<Args>(args)...);
return create(std::forward<Name>(name), narr, sizeof...(Args) / 2 - narr, std::forward<Args>(args)...);
}
};
} // sol