From: Mikko Rasa Date: Tue, 19 Dec 2017 16:28:20 +0000 (+0200) Subject: Give Placeable a virtual destructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1db563b1adc792edcd816ce19716a07cf403fe3c;p=libs%2Fgl.git Give Placeable a virtual destructor --- 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