diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-02 21:24:34 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:54 +0200 |
commit | c2f41a5b278df2837f4cc5617df07248a048d93c (patch) | |
tree | 0187794794cd96958720219340b85d31e6194c39 /src/interfaces/bounds.hpp | |
parent | 68ee3c67a8d23f68d9f87aea08548aba598ef14a (diff) |
refactor: add virtual destructors to interfaces
This is required by clang++ for some reason...
Diffstat (limited to 'src/interfaces/bounds.hpp')
-rw-r--r-- | src/interfaces/bounds.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |