From 86154175f63a7f1a4b73b3727314ac760d83834e Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 5 May 2012 18:12:36 +0200 Subject: Fixed compilation errors and warnings with GCC 4.7 Also, since GCC 4.7 there is a binary compatibility issue when linking with a Guichan that was not compiled in C++11 mode. This commit also allows compiling with GCC 4.7 with C++11 mode turned off. Reviewed-by: Erik Schilling --- src/resources/itemdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/itemdb.h') diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h index 15311083..d7859ad3 100644 --- a/src/resources/itemdb.h +++ b/src/resources/itemdb.h @@ -78,7 +78,7 @@ class ItemDB mLoaded(false) {} - ~ItemDB() + virtual ~ItemDB() {} /** -- cgit v1.2.3-60-g2f50