mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Extraneous Cx
.
This commit is contained in:
parent
eb25bb05bb
commit
84ae20a57a
|
@ -96,7 +96,7 @@ struct pusher<function_sig_t<Sigs...>> {
|
||||||
set_isconvertible_fx(is_convertible(), t, L, std::forward<Fx>(fx));
|
set_isconvertible_fx(is_convertible(), t, L, std::forward<Fx>(fx));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename... Args, typename Fx, typename... Cx, typename R = typename std::result_of<Fx(Args...)>::type>
|
template<typename... Args, typename Fx, typename R = typename std::result_of<Fx(Args...)>::type>
|
||||||
static void set_memfx(types<Args...>, lua_State* L, Fx&& fx){
|
static void set_memfx(types<Args...>, lua_State* L, Fx&& fx){
|
||||||
set_memfx(types<R(Args...)>(), L, std::forward<Fx>(fx));
|
set_memfx(types<R(Args...)>(), L, std::forward<Fx>(fx));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user