diff options
author | Tobias Markmann <tm@ayena.de> | 2018-10-09 11:18:25 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2018-10-09 11:18:25 (GMT) |
commit | 5c7ac2eeb74e7c29b72f2e78065ff814dc3a6939 (patch) | |
tree | 7e052ca4354886e57c53e532ccfe18f0c4f979a2 /Swiften | |
parent | 5d7ba3f76862cd561b295b79125a68dc4acf20df (diff) | |
download | swift-5c7ac2eeb74e7c29b72f2e78065ff814dc3a6939.zip swift-5c7ac2eeb74e7c29b72f2e78065ff814dc3a6939.tar.bz2 |
Address compiler warnings about missing override on dtors
Test-Information:
Builds and compiler warnings in not emitted by clang 8.0.0
anymore.
Change-Id: I118552b3b058acd15cdb9579e3695d9bf3d6b2fe
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Crypto/OpenSSLCryptoProvider.cpp | 6 | ||||
-rw-r--r-- | Swiften/IDN/PlatformIDNConverter.cpp | 5 |
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 } } |