From dc6222611ad14a33f642396558ba84ecba9d6605 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 14 Mar 2022 18:02:18 +0100 Subject: perf: add noexcept almost everywhere --- src/interfaces/input.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/interfaces/input.hpp') 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 { 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; }; -- cgit v1.2.3-18-g5258