unused q_q

This commit is contained in:
ThePhD 2016-03-30 02:21:52 -04:00
parent 2ee9967cdd
commit 2826a1f8c0

View File

@ -126,7 +126,7 @@ struct pusher<function_sig<Sigs...>> {
static void select_reference_member_function(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_function<std::decay_t<decltype(*userptr)>, meta::Unqualified<Fx>>::call;
int upvalues = stack::stack_detail::push_as_upvalues(L, memfxptr);