From 52154e097c4f6e0e9d03bad83b933b05b6082d16 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 23 Jun 2010 14:38:17 +0000 Subject: (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account --- src/newgrf_debug_gui.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/newgrf_debug_gui.cpp') 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. -- cgit v1.2.3-54-g00ecf