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/Session
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/Session')
-rw-r--r--Swiften/Session/BasicSessionStream.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Session/BasicSessionStream.h b/Swiften/Session/BasicSessionStream.h
index 811374a..2298351 100644
--- a/Swiften/Session/BasicSessionStream.h
+++ b/Swiften/Session/BasicSessionStream.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2015 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,9 +10,9 @@
#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
+#include <Swiften/Elements/StreamType.h>
#include <Swiften/Network/Connection.h>
#include <Swiften/Session/SessionStream.h>
-#include <Swiften/Elements/StreamType.h>
#include <Swiften/TLS/TLSError.h>
#include <Swiften/TLS/TLSOptions.h>
@@ -41,7 +41,7 @@ namespace Swift {
XMLParserFactory* xmlParserFactory,
const TLSOptions& tlsOptions
);
- ~BasicSessionStream();
+ virtual ~BasicSessionStream();
virtual void close();
virtual bool isOpen();