summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-09-15 23:40:49 +0200
committerljfa-ag <ljfa-ag@web.de>2015-09-15 23:40:49 +0200
commitedaaac5a6c7d20eb5baa6de27aa79cb50878a10b (patch)
tree060468e131f9c18fa9dc1cd184f673fd882cc78d
parent93a4f406d0b827026d26703c4623b1b846f65ca4 (diff)
downloadProject-Tick-edaaac5a6c7d20eb5baa6de27aa79cb50878a10b.tar.gz
Project-Tick-edaaac5a6c7d20eb5baa6de27aa79cb50878a10b.zip
Moving and copying is disabled for ozlibstream too
-rw-r--r--include/io/ozlibstream.h9
-rw-r--r--test/zlibstream_test.h1
2 files changed, 1 insertions, 9 deletions
diff --git a/include/io/ozlibstream.h b/include/io/ozlibstream.h
index 954bcc182d..0e19aaaa2b 100644
--- a/include/io/ozlibstream.h
+++ b/include/io/ozlibstream.h
@@ -20,7 +20,6 @@
#ifndef OZLIBSTREAM_H_INCLUDED
#define OZLIBSTREAM_H_INCLUDED
-#include "io/zlib_error.h"
#include <ostream>
#include <vector>
#include <zlib.h>
@@ -38,14 +37,6 @@ public:
explicit deflate_streambuf(std::ostream& output, int level = -1, int window_bits = 15, int mem_level = 8, int strategy = Z_DEFAULT_STRATEGY);
~deflate_streambuf() noexcept;
- //Moving
- deflate_streambuf(deflate_streambuf&&) noexcept = default;
- deflate_streambuf& operator=(deflate_streambuf&&) noexcept = default;
-
- //No copying
- deflate_streambuf(const deflate_streambuf&) = delete;
- deflate_streambuf& operator=(const deflate_streambuf&) = delete;
-
std::ostream& get_ostr() const { return os; }
private:
diff --git a/test/zlibstream_test.h b/test/zlibstream_test.h
index d2e6b6ee82..8e9ca6b0f2 100644
--- a/test/zlibstream_test.h
+++ b/test/zlibstream_test.h
@@ -20,6 +20,7 @@
#include <cxxtest/TestSuite.h>
#include "io/izlibstream.h"
#include "io/ozlibstream.h"
+#include "io/zlib_error.h"
#include <fstream>
#include <sstream>