summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Serializer/XML/XMLTextNode.h')
-rw-r--r--Swiften/Serializer/XML/XMLTextNode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Serializer/XML/XMLTextNode.h b/Swiften/Serializer/XML/XMLTextNode.h
index c1d13ef..e158916 100644
--- a/Swiften/Serializer/XML/XMLTextNode.h
+++ b/Swiften/Serializer/XML/XMLTextNode.h
@@ -7,9 +7,10 @@
#pragma once
#include "Swiften/Serializer/XML/XMLNode.h"
+#include "Swiften/Base/Shared.h"
namespace Swift {
- class XMLTextNode : public XMLNode {
+ class XMLTextNode : public XMLNode, public Shared<XMLTextNode> {
public:
typedef boost::shared_ptr<XMLTextNode> ref;