From 1db563b1adc792edcd816ce19716a07cf403fe3c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 19 Dec 2017 18:28:20 +0200 Subject: [PATCH] Give Placeable a virtual destructor --- source/placeable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/placeable.h b/source/placeable.h index 2879f975..35999a06 100644 --- a/source/placeable.h +++ b/source/placeable.h @@ -16,8 +16,9 @@ protected: Matrix matrix; Placeable() { } - public: + virtual ~Placeable() { } + virtual void set_matrix(const Matrix &); /** Returns the Placeable's matrix. This function returns a pointer for -- 2.45.2