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/guiDeathScreen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/guiDeathScreen.h') diff --git a/src/guiDeathScreen.h b/src/guiDeathScreen.h index 10a97d7e8..54cc49b0a 100644 --- a/src/guiDeathScreen.h +++ b/src/guiDeathScreen.h @@ -29,6 +29,7 @@ class IRespawnInitiator { public: virtual void respawn() = 0; + virtual ~IRespawnInitiator() {}; }; class GUIDeathScreen : public GUIModalMenu -- cgit v1.2.3