summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-17 10:15:18 +0100
committermadmaxoft <github@xoft.cz>2014-02-17 10:15:18 +0100
commita4ff63f223d5a9b20e71286975d7a6d5f0c00f17 (patch)
tree3f5dbcc39d108fd717efb9c840c5eb4f6c463880 /src/CompositeChat.h
parentLinks sent via chat messages are clickable. (diff)
downloadcuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.tar
cuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.tar.gz
cuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.tar.bz2
cuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.tar.lz
cuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.tar.xz
cuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.tar.zst
cuberite-a4ff63f223d5a9b20e71286975d7a6d5f0c00f17.zip
Diffstat (limited to '')
-rw-r--r--src/CompositeChat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CompositeChat.h b/src/CompositeChat.h
index 8963bb520..51600da4f 100644
--- a/src/CompositeChat.h
+++ b/src/CompositeChat.h
@@ -48,6 +48,9 @@ public:
AString m_Style;
cBasePart(ePartType a_PartType, const AString & a_Text, const AString & a_Style = "");
+
+ // Force a virtual destructor in descendants
+ virtual ~cBasePart() {}
} ;
class cTextPart :