From 8b799db5d4ede2010189db97e7801aad19af1fd2 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 1 Sep 2015 10:02:21 +0200 Subject: Add missing compression overrides --- src/lib/compression/bzip2/bzip2.h | 2 +- src/lib/compression/compression.h | 1 + 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& buf, size_t offset = 0) override; void clear() override; + private: secure_vector 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; }; -- cgit v1.2.3