summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/Message.h')
-rw-r--r--Swiften/Elements/Message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Elements/Message.h b/Swiften/Elements/Message.h
index f42aec6..e5e00ab 100644
--- a/Swiften/Elements/Message.h
+++ b/Swiften/Elements/Message.h
@@ -9,6 +9,7 @@
#include <boost/optional.hpp>
#include "Swiften/Base/String.h"
+#include "Swiften/Base/Shared.h"
#include "Swiften/Elements/Body.h"
#include "Swiften/Elements/Subject.h"
#include "Swiften/Elements/ErrorPayload.h"
@@ -16,8 +17,7 @@
namespace Swift
{
- class Message : public Stanza
- {
+ class Message : public Stanza, public Shared<Message> {
public:
enum Type { Normal, Chat, Error, Groupchat, Headline };