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/bounds.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/interfaces/bounds.hpp') diff --git a/src/interfaces/bounds.hpp b/src/interfaces/bounds.hpp index 9cec97e..7e920cf 100644 --- a/src/interfaces/bounds.hpp +++ b/src/interfaces/bounds.hpp @@ -15,6 +15,8 @@ enum CoordsValidation class IBounds { public: + virtual ~IBounds() = default; + [[nodiscard]] virtual unsigned int width() const = 0; virtual void width(unsigned int width) = 0; -- cgit v1.2.3-18-g5258