mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
restore decompress to be const
This commit is contained in:
parent
567f90d8a4
commit
7b262b62c2
@ -91,7 +91,7 @@ UInt32 ICompressionCodec::compress(const char * source, UInt32 source_size, char
|
||||
return header_size + compressed_bytes_written;
|
||||
}
|
||||
|
||||
UInt32 ICompressionCodec::decompress(const char * source, UInt32 source_size, char * dest)
|
||||
UInt32 ICompressionCodec::decompress(const char * source, UInt32 source_size, char * dest) const
|
||||
{
|
||||
assert(source != nullptr && dest != nullptr);
|
||||
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
UInt32 compress(const char * source, UInt32 source_size, char * dest) const;
|
||||
|
||||
/// Decompress bytes from compressed source to dest. Dest should preallocate memory;
|
||||
UInt32 decompress(const char * source, UInt32 source_size, char * dest);
|
||||
UInt32 decompress(const char * source, UInt32 source_size, char * dest) const;
|
||||
|
||||
CodecMode getDecompressMode() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user