From c2f41a5b278df2837f4cc5617df07248a048d93c Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 2 Mar 2022 21:24:34 +0100 Subject: refactor: add virtual destructors to interfaces This is required by clang++ for some reason... --- src/interfaces/input.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/interfaces/input.hpp') diff --git a/src/interfaces/input.hpp b/src/interfaces/input.hpp index 956ec4f..2e93b5d 100644 --- a/src/interfaces/input.hpp +++ b/src/interfaces/input.hpp @@ -5,6 +5,8 @@ class IInputHandler : public IObservable { public: + virtual ~IInputHandler() = default; + void listen() const override = 0; void attach(const char &event, Callback callback) override = 0; -- cgit v1.2.3-18-g5258