diff --git a/src/util/BindMethod.hxx b/src/util/BindMethod.hxx index 8a9964d91..d43b34948 100644 --- a/src/util/BindMethod.hxx +++ b/src/util/BindMethod.hxx @@ -48,7 +48,7 @@ public: return function != nullptr; } - R operator()(Args... args) const { + R operator()(Args... args) const noexcept(NoExcept) { return function(instance_, std::forward(args)...); } };