diff options
Diffstat (limited to 'Swiften/Elements/StanzaAck.cpp')
-rw-r--r-- | Swiften/Elements/StanzaAck.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Swiften/Elements/StanzaAck.cpp b/Swiften/Elements/StanzaAck.cpp index 5bcab73..dda97f5 100644 --- a/Swiften/Elements/StanzaAck.cpp +++ b/Swiften/Elements/StanzaAck.cpp @@ -1,19 +1,17 @@ /* - * Copyright (c) 2013 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2013-2018 Isode Limited. + * All rights reserved. + * See the COPYING file 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; +void StanzaAck::setHandledStanzasCount(unsigned int i) { + handledStanzasCount = i; + valid = true; } |