aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
diff options
context:
space:
mode:
authorMax Horn2005-06-20 17:59:00 +0000
committerMax Horn2005-06-20 17:59:00 +0000
commit096e04ef05fda514df07845f066c1b590e63a3f2 (patch)
tree62604bb05bf2ff29ce8cce03c890f5f195390417 /graphics/font.h
parenta8de6c99d075bfdf5253b26bc1c4c0815d902f8e (diff)
downloadscummvm-rg350-096e04ef05fda514df07845f066c1b590e63a3f2.tar.gz
scummvm-rg350-096e04ef05fda514df07845f066c1b590e63a3f2.tar.bz2
scummvm-rg350-096e04ef05fda514df07845f066c1b590e63a3f2.zip
Added virtual destructor, to silence a few more GCC 4 warnings
svn-id: r18419
Diffstat (limited to 'graphics/font.h')
-rw-r--r--graphics/font.h3
1 files changed, 3 insertions, 0 deletions
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;