summaryrefslogtreecommitdiff
path: root/src/newgrf_debug_gui.cpp
diff options
context:
space:
mode:
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.