event/DeferEvent: add "noexcept"
This commit is contained in:
parent
43dccbd45d
commit
593d82c6a9
@ -30,7 +30,7 @@
|
||||
* This class is thread-safe.
|
||||
*/
|
||||
class DeferEvent final : DeferredMonitor {
|
||||
typedef BoundMethod<void()> Callback;
|
||||
typedef BoundMethod<void() noexcept> Callback;
|
||||
const Callback callback;
|
||||
|
||||
public:
|
||||
@ -42,7 +42,7 @@ public:
|
||||
using DeferredMonitor::Cancel;
|
||||
|
||||
private:
|
||||
void RunDeferred() override {
|
||||
void RunDeferred() noexcept override {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user