util/BindMethod: use std::remove_reference_t
This commit is contained in:
parent
8dca602346
commit
51ffafa011
@ -273,7 +273,7 @@ BindMethod(typename BindMethodDetail::MethodSignatureHelper<decltype(method)>::c
|
||||
* Shortcut wrapper for BIND_METHOD() which assumes "*this" is the
|
||||
* instance to be bound.
|
||||
*/
|
||||
#define BIND_THIS_METHOD(method) BIND_METHOD(*this, &std::remove_reference<decltype(*this)>::type::method)
|
||||
#define BIND_THIS_METHOD(method) BIND_METHOD(*this, &std::remove_reference_t<decltype(*this)>::method)
|
||||
|
||||
/**
|
||||
* Construct a #BoundMethod instance for a plain function.
|
||||
|
Loading…
Reference in New Issue
Block a user