summaryrefslogtreecommitdiff
path: root/src/guiDeathScreen.h
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-12-09 11:20:19 +0100
committerPerttu Ahola <celeron55@gmail.com>2011-12-28 20:50:21 +0200
commit135a65e200d372dd31f19639d25c9b5aa1459252 (patch)
treea34dc712a24034caa297aff222f6fc3373d50875 /src/guiDeathScreen.h
parent123529e5eb99cc8e8dcf198e9724c98c44eb96ea (diff)
downloadminetest-135a65e200d372dd31f19639d25c9b5aa1459252.tar.gz
minetest-135a65e200d372dd31f19639d25c9b5aa1459252.tar.bz2
minetest-135a65e200d372dd31f19639d25c9b5aa1459252.zip
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.
Diffstat (limited to 'src/guiDeathScreen.h')
-rw-r--r--src/guiDeathScreen.h1
1 files changed, 1 insertions, 0 deletions
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