summaryrefslogtreecommitdiff
path: root/src/newgrf_debug_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-06-23 14:38:17 +0000
committerrubidium <rubidium@openttd.org>2010-06-23 14:38:17 +0000
commit52154e097c4f6e0e9d03bad83b933b05b6082d16 (patch)
tree6c439a38376bb38a31b76cd8532f966fbe519f54 /src/newgrf_debug_gui.cpp
parent9683b8746674af9963fb13f00e020edf1dba91f4 (diff)
downloadopenttd-52154e097c4f6e0e9d03bad83b933b05b6082d16.tar.xz
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
Diffstat (limited to 'src/newgrf_debug_gui.cpp')
-rw-r--r--src/newgrf_debug_gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_debug_gui.cpp b/src/newgrf_debug_gui.cpp
index 703edf905..019bd20b9 100644
--- a/src/newgrf_debug_gui.cpp
+++ b/src/newgrf_debug_gui.cpp
@@ -104,6 +104,9 @@ struct NIVariable {
/** Helper class to wrap some functionality/queries in. */
class NIHelper {
public:
+ /** Silence a warning. */
+ virtual ~NIHelper() {}
+
/**
* Is the item with the given index inspectable?
* @param index the index to check.