From 7d26cd74c1714baf96ff42c604a62bae7f7727b3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Oct 2023 21:46:13 +0200 Subject: [PATCH] util/BindMethod: add `noexcept` --- 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 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)...); } };