diff --git a/src/util/BindMethod.hxx b/src/util/BindMethod.hxx index cafa0bddf..5066ece66 100644 --- a/src/util/BindMethod.hxx +++ b/src/util/BindMethod.hxx @@ -191,11 +191,11 @@ struct FunctionTraits { * @param P the plain function pointer type * @param function the function pointer */ -template +template struct BindFunctionWrapperGenerator; -template -struct BindFunctionWrapperGenerator { +template +struct BindFunctionWrapperGenerator { static R Invoke(void *, Args... args) noexcept(NoExcept) { return function(std::forward(args)...); } @@ -206,7 +206,6 @@ typename MethodWrapperWithSignature::function_pointer MakeBindFunctionWrapper() noexcept { return BindFunctionWrapperGenerator::Invoke; }