diff options
author | Simon Warta <[email protected]> | 2015-09-01 10:02:21 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-09-01 10:02:21 +0200 |
commit | 8b799db5d4ede2010189db97e7801aad19af1fd2 (patch) | |
tree | ef357cb0b27d18d160c03de04b072740905fa682 /src/lib | |
parent | 2924b3cd05842e95cb0e6af9070aec7a1a2461b9 (diff) |
Add missing compression overrides
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/compression/bzip2/bzip2.h | 2 | ||||
-rw-r--r-- | src/lib/compression/compression.h | 1 | ||||
-rw-r--r-- | src/lib/compression/lzma/lzma.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/compression/bzip2/bzip2.h b/src/lib/compression/bzip2/bzip2.h index d958cbfe7..001080fd4 100644 --- a/src/lib/compression/bzip2/bzip2.h +++ b/src/lib/compression/bzip2/bzip2.h @@ -31,7 +31,7 @@ class BOTAN_DLL Bzip2_Compression : public Stream_Compression std::string name() const override { return "Bzip2_Compression"; } private: - Compression_Stream* make_stream() const; + Compression_Stream* make_stream() const override; const size_t m_block_size; }; diff --git a/src/lib/compression/compression.h b/src/lib/compression/compression.h index 62525dcc9..2c74550d6 100644 --- a/src/lib/compression/compression.h +++ b/src/lib/compression/compression.h @@ -65,6 +65,7 @@ class BOTAN_DLL Stream_Compression : public Compressor_Transform void finish(secure_vector<byte>& buf, size_t offset = 0) override; void clear() override; + private: secure_vector<byte> start_raw(const byte[], size_t) override; diff --git a/src/lib/compression/lzma/lzma.h b/src/lib/compression/lzma/lzma.h index 8a142c192..ff6b45ef0 100644 --- a/src/lib/compression/lzma/lzma.h +++ b/src/lib/compression/lzma/lzma.h @@ -30,7 +30,7 @@ class BOTAN_DLL LZMA_Compression : public Stream_Compression std::string name() const override { return "LZMA_Compression"; } private: - Compression_Stream* make_stream() const; + Compression_Stream* make_stream() const override; const size_t m_level; }; |