util/BindMethod: add noexcept

This commit is contained in:
Max Kellermann 2023-10-02 21:46:13 +02:00 committed by Max Kellermann
parent 7e6941acc8
commit 7d26cd74c1

View File

@ -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>(args)...);
}
};