diff options
author | rubidium <rubidium@openttd.org> | 2010-06-23 14:38:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-06-23 14:38:17 +0000 |
commit | 52154e097c4f6e0e9d03bad83b933b05b6082d16 (patch) | |
tree | 6c439a38376bb38a31b76cd8532f966fbe519f54 /src/newgrf_debug_gui.cpp | |
parent | 9683b8746674af9963fb13f00e020edf1dba91f4 (diff) | |
download | openttd-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.cpp | 3 |
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. |