From 096e04ef05fda514df07845f066c1b590e63a3f2 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Jun 2005 17:59:00 +0000 Subject: Added virtual destructor, to silence a few more GCC 4 warnings svn-id: r18419 --- graphics/font.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'graphics/font.h') diff --git a/graphics/font.h b/graphics/font.h index 230ae94c2b..6799d6769e 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -40,6 +40,9 @@ enum TextAlignment { */ class Font { public: + Font() {} + virtual ~Font() {} + virtual int getFontHeight() const = 0; virtual int getMaxCharWidth() const = 0; -- cgit v1.2.3