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/observable.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/interfaces/observable.hpp') diff --git a/src/interfaces/observable.hpp b/src/interfaces/observable.hpp index ca8ffda..7dbd50a 100644 --- a/src/interfaces/observable.hpp +++ b/src/interfaces/observable.hpp @@ -8,6 +8,8 @@ template class IObservable { public: + virtual ~IObservable() = default; + virtual void listen() const = 0; virtual void attach(const Event &event, Callback callback) = 0; -- cgit v1.2.3-18-g5258