diff options
author | madmaxoft <github@xoft.cz> | 2014-02-17 10:15:18 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-02-17 10:15:18 +0100 |
commit | a4ff63f223d5a9b20e71286975d7a6d5f0c00f17 (patch) | |
tree | 3f5dbcc39d108fd717efb9c840c5eb4f6c463880 /src/CompositeChat.h | |
parent | Links sent via chat messages are clickable. (diff) | |
download | cuberite-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 'src/CompositeChat.h')
-rw-r--r-- | src/CompositeChat.h | 3 |
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 : |