summaryrefslogtreecommitdiffstats
blob: 5bcab73396aafbe0b7126c73d01447140c90665e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2013 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#include <Swiften/Elements/StanzaAck.h>

#include <boost/numeric/conversion/cast.hpp>

using namespace Swift;

StanzaAck::~StanzaAck() {
}

void StanzaAck::setHandledStanzasCount(int i) {
	handledStanzasCount = boost::numeric_cast<unsigned int>(i);
	valid = true;
}