diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-06 20:07:50 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-06 20:07:50 +0100 |
commit | e3ad180e9452be85ff35a10b4bb4a0dbf1ac11b4 (patch) | |
tree | f642b6f5cb61b6e8c85250ab317640ef384d810b /plugingui/drawable.h | |
parent | 15f98dfc9858cd11d616cf1dfdd1a1e50a7a48db (diff) |
Make destructors virtual as appropriate.
Diffstat (limited to 'plugingui/drawable.h')
-rw-r--r-- | plugingui/drawable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/drawable.h b/plugingui/drawable.h index 346102d..ff9a4ff 100644 --- a/plugingui/drawable.h +++ b/plugingui/drawable.h @@ -36,6 +36,8 @@ class Colour; class Drawable { public: + virtual ~Drawable() = default; + virtual std::size_t width() const = 0; virtual std::size_t height() const = 0; |