diff options
Diffstat (limited to 'brotli_compressor.h')
-rw-r--r-- | brotli_compressor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brotli_compressor.h b/brotli_compressor.h index 19cbb88..153d932 100644 --- a/brotli_compressor.h +++ b/brotli_compressor.h @@ -30,7 +30,7 @@ class BrotliCompressor : public CompressorInterface { bool Write(const uint8_t* buf, size_t size) override; bool Finish() override; const std::vector<uint8_t>& GetCompressedData() override; - CompressorType Type() override { return CompressorType::kBrotli; } + CompressorType Type() const override { return CompressorType::kBrotli; } private: BrotliEncoderState* brotli_encoder_state_; |