summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-01-13 22:03:37 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-01-15 13:41:45 (GMT)
commit730a9d26ef340373796aeb020175fce0ed716865 (patch)
tree4de361c9bb98914ec67685237e68c4e9aa9acb42 /Swiften/Crypto/WindowsCryptoProvider.h
parenta85e554093966d7174218a17e45cf8e8b6efadca (diff)
downloadswift-730a9d26ef340373796aeb020175fce0ed716865.zip
swift-730a9d26ef340373796aeb020175fce0ed716865.tar.bz2
Add missing virtual keyword to some destructors
Adds missing virtual keyword to destructors of classes which have a non-empty destructor and are inheriting from other classes and implement virtual functions. Test-Information: Compiles and unit tests pass on Windows 8 with VS 2013. Change-Id: I172b5de8eda63eb8057113fbc979444abde3e0a7
Diffstat (limited to 'Swiften/Crypto/WindowsCryptoProvider.h')
-rw-r--r--Swiften/Crypto/WindowsCryptoProvider.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Swiften/Crypto/WindowsCryptoProvider.h b/Swiften/Crypto/WindowsCryptoProvider.h
index bd06b6e..b3f6f29 100644
--- a/Swiften/Crypto/WindowsCryptoProvider.h
+++ b/Swiften/Crypto/WindowsCryptoProvider.h
@@ -1,21 +1,22 @@
/*
- * Copyright (c) 2013 Isode Limited.
+ * Copyright (c) 2013-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
-#include <Swiften/Crypto/CryptoProvider.h>
-#include <Swiften/Base/Override.h>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/Override.h>
+#include <Swiften/Crypto/CryptoProvider.h>
+
namespace Swift {
class WindowsCryptoProvider : public CryptoProvider, public boost::noncopyable {
public:
WindowsCryptoProvider();
- ~WindowsCryptoProvider();
+ virtual ~WindowsCryptoProvider();
virtual Hash* createSHA1() SWIFTEN_OVERRIDE;
virtual Hash* createMD5() SWIFTEN_OVERRIDE;