From 17e7d648041ebefaebbc94328d47357e145e3500 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 23 Jan 2010 16:13:13 +0000 Subject: [PATCH] To call the destructor --- font.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/font.hh b/font.hh index 3065b54..7945ecb 100644 --- a/font.hh +++ b/font.hh @@ -6,6 +6,10 @@ class Font { public: + virtual ~Font() + { + } + virtual int getHeight(const char *str) = 0; virtual int getHeight(const char c)