summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Crypto/OpenSSLCryptoProvider.cpp6
-rw-r--r--Swiften/IDN/PlatformIDNConverter.cpp5
2 files changed, 6 insertions, 5 deletions
diff --git a/Swiften/Crypto/OpenSSLCryptoProvider.cpp b/Swiften/Crypto/OpenSSLCryptoProvider.cpp
index b46cb2a..e8c1c73 100644
--- a/Swiften/Crypto/OpenSSLCryptoProvider.cpp
+++ b/Swiften/Crypto/OpenSSLCryptoProvider.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2017 Isode Limited.
+ * Copyright (c) 2013-2018 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -28,7 +28,7 @@ namespace {
}
}
- ~SHA1Hash() {
+ ~SHA1Hash() override {
}
virtual Hash& update(const ByteArray& data) override {
@@ -69,7 +69,7 @@ namespace {
}
}
- ~MD5Hash() {
+ ~MD5Hash() override {
}
virtual Hash& update(const ByteArray& data) override {
diff --git a/Swiften/IDN/PlatformIDNConverter.cpp b/Swiften/IDN/PlatformIDNConverter.cpp
index c85d3b6..c6104fb 100644
--- a/Swiften/IDN/PlatformIDNConverter.cpp
+++ b/Swiften/IDN/PlatformIDNConverter.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 Isode Limited.
+ * Copyright (c) 2012-2018 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -21,9 +21,10 @@ IDNConverter* PlatformIDNConverter::create() {
#else
#if defined(NEED_IDN)
#error "No IDN implementation"
-#endif
+#else
return nullptr;
#endif
+#endif
}
}