diff options
Diffstat (limited to 'Swiften/Elements/StanzaAck.h')
-rw-r--r-- | Swiften/Elements/StanzaAck.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Elements/StanzaAck.h b/Swiften/Elements/StanzaAck.h index 53b62b4..8a57442 100644 --- a/Swiften/Elements/StanzaAck.h +++ b/Swiften/Elements/StanzaAck.h @@ -7,11 +7,13 @@ #pragma once #include "Swiften/Elements/Element.h" -#include "Swiften/Base/Shared.h" + namespace Swift { - class StanzaAck : public Element, public Shared<StanzaAck> { + class StanzaAck : public Element { public: + typedef boost::shared_ptr<StanzaAck> ref; + StanzaAck() : valid(false), handledStanzasCount(0) {} StanzaAck(unsigned int handledStanzasCount) : valid(true), handledStanzasCount(handledStanzasCount) {} |