summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
1/* 1/*
2 * Copyright (c) 2013-2017 Isode Limited. 2 * Copyright (c) 2013-2018 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -28,7 +28,7 @@ namespace {
28 } 28 }
29 } 29 }
30 30
31 ~SHA1Hash() { 31 ~SHA1Hash() override {
32 } 32 }
33 33
34 virtual Hash& update(const ByteArray& data) override { 34 virtual Hash& update(const ByteArray& data) override {
@@ -69,7 +69,7 @@ namespace {
69 } 69 }
70 } 70 }
71 71
72 ~MD5Hash() { 72 ~MD5Hash() override {
73 } 73 }
74 74
75 virtual Hash& update(const ByteArray& data) override { 75 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 @@
1/* 1/*
2 * Copyright (c) 2012-2016 Isode Limited. 2 * Copyright (c) 2012-2018 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -21,9 +21,10 @@ IDNConverter* PlatformIDNConverter::create() {
21#else 21#else
22#if defined(NEED_IDN) 22#if defined(NEED_IDN)
23#error "No IDN implementation" 23#error "No IDN implementation"
24#endif 24#else
25 return nullptr; 25 return nullptr;
26#endif 26#endif
27#endif
27} 28}
28 29
29} 30}