mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
make sure protect works as advertised
This commit is contained in:
parent
b2d137f65f
commit
fe162b9643
|
@ -29,9 +29,6 @@ namespace sol {
|
|||
template<typename Func>
|
||||
struct functor_function {
|
||||
typedef meta::unwrapped_t<meta::unqualified_t<Func>> Function;
|
||||
typedef decltype(&Function::operator()) function_type;
|
||||
typedef meta::function_return_t<function_type> return_type;
|
||||
typedef meta::function_args_t<function_type> args_lists;
|
||||
Function fx;
|
||||
|
||||
template<typename... Args>
|
||||
|
|
Loading…
Reference in New Issue
Block a user