From 51ffafa0113181f86084d49ccf448a2d35fa36bd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Dec 2021 22:24:38 +0100 Subject: [PATCH] util/BindMethod: use std::remove_reference_t --- src/util/BindMethod.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/BindMethod.hxx b/src/util/BindMethod.hxx index f96fa3e05..4035d13f3 100644 --- a/src/util/BindMethod.hxx +++ b/src/util/BindMethod.hxx @@ -273,7 +273,7 @@ BindMethod(typename BindMethodDetail::MethodSignatureHelper::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::type::method) +#define BIND_THIS_METHOD(method) BIND_METHOD(*this, &std::remove_reference_t::method) /** * Construct a #BoundMethod instance for a plain function.