diff options
Diffstat (limited to 'Swiften/StringCodecs/Base64.h')
-rw-r--r-- | Swiften/StringCodecs/Base64.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Swiften/StringCodecs/Base64.h b/Swiften/StringCodecs/Base64.h index 205797c..fde27c0 100644 --- a/Swiften/StringCodecs/Base64.h +++ b/Swiften/StringCodecs/Base64.h @@ -1,12 +1,11 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <vector> #include <string> #include <Swiften/Base/API.h> @@ -14,11 +13,11 @@ #include <Swiften/Base/SafeByteArray.h> namespace Swift { - class SWIFTEN_API Base64 { - public: - static std::string encode(const ByteArray& s); - static SafeByteArray encode(const SafeByteArray& s); + class SWIFTEN_API Base64 { + public: + static std::string encode(const ByteArray& s); + static SafeByteArray encode(const SafeByteArray& s); - static ByteArray decode(const std::string &s); - }; + static ByteArray decode(const std::string &s); + }; } |