From 135a65e200d372dd31f19639d25c9b5aa1459252 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 9 Dec 2011 11:20:19 +0100 Subject: Add virtual destructors to abstract classes IRespawnInitiator and InventoryActions are abstract classes, but they were missing a virtual destructor. Define it, even if it does nothing and its absence most likely makes no difference other tha causing warnings during compile. --- src/guiTextInputMenu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/guiTextInputMenu.h') diff --git a/src/guiTextInputMenu.h b/src/guiTextInputMenu.h index c679aa9ca..2939cf654 100644 --- a/src/guiTextInputMenu.h +++ b/src/guiTextInputMenu.h @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., struct TextDest { virtual void gotText(std::wstring text) = 0; + virtual ~TextDest() {}; }; class GUITextInputMenu : public GUIModalMenu -- cgit v1.2.3