summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/StanzaAck.h')
-rw-r--r--Swiften/Elements/StanzaAck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Elements/StanzaAck.h b/Swiften/Elements/StanzaAck.h
index eaf4e26..53b62b4 100644
--- a/Swiften/Elements/StanzaAck.h
+++ b/Swiften/Elements/StanzaAck.h
@@ -13,6 +13,7 @@ namespace Swift {
class StanzaAck : public Element, public Shared<StanzaAck> {
public:
StanzaAck() : valid(false), handledStanzasCount(0) {}
+ StanzaAck(unsigned int handledStanzasCount) : valid(true), handledStanzasCount(handledStanzasCount) {}
unsigned int getHandledStanzasCount() const {
return handledStanzasCount;