util/BindMethod: add noexcept
This commit is contained in:
parent
7e6941acc8
commit
7d26cd74c1
@ -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)...);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user