summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Compress')
-rw-r--r--Swiften/Compress/ZLibCompressor.h4
-rw-r--r--Swiften/Compress/ZLibDecompressor.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Compress/ZLibCompressor.h b/Swiften/Compress/ZLibCompressor.h
index b777505..c92b8c0 100644
--- a/Swiften/Compress/ZLibCompressor.h
+++ b/Swiften/Compress/ZLibCompressor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -13,7 +13,7 @@ namespace Swift {
class SWIFTEN_API ZLibCompressor : public ZLibCodecompressor {
public:
ZLibCompressor();
- ~ZLibCompressor();
+ virtual ~ZLibCompressor();
virtual int processZStream();
diff --git a/Swiften/Compress/ZLibDecompressor.h b/Swiften/Compress/ZLibDecompressor.h
index 07331ee..b758be3 100644
--- a/Swiften/Compress/ZLibDecompressor.h
+++ b/Swiften/Compress/ZLibDecompressor.h
@@ -1,19 +1,19 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
-#include <Swiften/Compress/ZLibCodecompressor.h>
#include <Swiften/Base/API.h>
+#include <Swiften/Compress/ZLibCodecompressor.h>
namespace Swift {
class SWIFTEN_API ZLibDecompressor : public ZLibCodecompressor {
public:
ZLibDecompressor();
- ~ZLibDecompressor();
+ virtual ~ZLibDecompressor();
virtual int processZStream();
};