More unused parameters. .-.

This commit is contained in:
ThePhD 2016-03-30 02:16:08 -04:00
parent 20c4fee60e
commit 2ee9967cdd

View File

@ -88,7 +88,7 @@ struct pusher<function_sig<Sigs...>> {
static void select_reference_member_variable(std::true_type, lua_State* L, Fx&& fx, T&& obj, Args&&... args) {
typedef std::decay_t<Fx> dFx;
dFx memfxptr(std::forward<Fx>(fx));
auto userptr = detail::ptr(std::forward<T>(obj));
auto userptr = detail::ptr(std::forward<T>(obj), std::forward<Args>(args)...);
lua_CFunction freefunc = &function_detail::upvalue_member_variable<std::decay_t<decltype(*userptr)>, meta::Unqualified<Fx>>::call;
int upvalues = stack::stack_detail::push_as_upvalues(L, memfxptr);