diff options
Diffstat (limited to 'src/interfaces/observable.hpp')
-rw-r--r-- | src/interfaces/observable.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/observable.hpp b/src/interfaces/observable.hpp index 7dbd50a..1777b7d 100644 --- a/src/interfaces/observable.hpp +++ b/src/interfaces/observable.hpp @@ -8,11 +8,11 @@ template <typename Event> class IObservable { public: - virtual ~IObservable() = default; + virtual ~IObservable() noexcept = default; - virtual void listen() const = 0; + virtual void listen() const noexcept = 0; - virtual void attach(const Event &event, Callback callback) = 0; + virtual void attach(const Event &event, Callback callback) noexcept = 0; - virtual void notify(const Event &event) const = 0; + virtual void notify(const Event &event) const noexcept = 0; }; |