diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-14 18:02:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | dc6222611ad14a33f642396558ba84ecba9d6605 (patch) | |
tree | d759020233b66be62c5539209a03842d283b67a9 /src/interfaces/input.hpp | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/interfaces/input.hpp')
-rw-r--r-- | src/interfaces/input.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/input.hpp b/src/interfaces/input.hpp index b8679c7..b243a16 100644 --- a/src/interfaces/input.hpp +++ b/src/interfaces/input.hpp @@ -5,15 +5,15 @@ class IInputHandler : public IObservable<char> { public: - ~IInputHandler() override = default; + ~IInputHandler() noexcept override = default; - void listen() const override = 0; + void listen() const noexcept override = 0; - void attach(const char &event, Callback callback) override = 0; + void attach(const char &event, Callback callback) noexcept override = 0; - void notify(const char &event) const override = 0; + void notify(const char &event) const noexcept override = 0; - virtual void enter_raw_mode() = 0; + virtual void enter_raw_mode() noexcept = 0; - virtual void leave_raw_mode() = 0; + virtual void leave_raw_mode() noexcept = 0; }; |