X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FDrawable.hh;h=61283fa3675995072d92d0afdabf10c14381fb3c;hp=8d93f0543aa4382367e1ca07d6fd94c14a25e3ce;hb=25aefe01ef7dbdb603c51411e04b0d6a6107684f;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4 diff --git a/src/Moof/Drawable.hh b/src/Moof/Drawable.hh index 8d93f05..61283fa 100644 --- a/src/Moof/Drawable.hh +++ b/src/Moof/Drawable.hh @@ -42,7 +42,9 @@ namespace Mf { class Drawable { public: - virtual void draw(Scalar alpha) = 0; + virtual ~Drawable() {} + + virtual void draw(Scalar alpha) const = 0; };