summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2014-04-27 12:07:48 (GMT)
committerRemko Tronçon <git@el-tramo.be>2014-04-27 12:07:48 (GMT)
commit64511948b075e650cacfcc78e40371abee1d2716 (patch)
tree1a8e4a9232edddc182a14e29306a45176843a8bd /Swiften/Elements
parent05f2ef44c2203317a6fc766cd0c5a9a1f241af23 (diff)
downloadswift-64511948b075e650cacfcc78e40371abee1d2716.zip
swift-64511948b075e650cacfcc78e40371abee1d2716.tar.bz2
Make stanza constructor protected
Change-Id: I417b35e0b76795aea97b677b8a33aa56f6b81c12
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/Stanza.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/Elements/Stanza.h b/Swiften/Elements/Stanza.h
index f1c9e00..e83f522 100644
--- a/Swiften/Elements/Stanza.h
+++ b/Swiften/Elements/Stanza.h
@@ -23,7 +23,10 @@ namespace Swift {
public:
typedef boost::shared_ptr<Stanza> ref;
+ protected:
Stanza();
+
+ public:
virtual ~Stanza();
SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(Stanza)