Fixed build

This commit is contained in:
Maksim Kita 2021-02-24 13:12:44 +03:00
parent d04e707567
commit 8ee89b59ec
2 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ public:
void popBack(size_t) override { throwMustBeDecompressed(); }
StringRef serializeValueIntoArena(size_t, Arena &, char const *&) const override { throwMustBeDecompressed(); }
const char * deserializeAndInsertFromArena(const char *) override { throwMustBeDecompressed(); }
const char * skipSerializedInArena(const char *) const override { throwMustBeDecompressed(); }
void updateHashWithValue(size_t, SipHash &) const override { throwMustBeDecompressed(); }
void updateWeakHash32(WeakHash32 &) const override { throwMustBeDecompressed(); }
void updateHashFast(SipHash &) const override { throwMustBeDecompressed(); }

View File

@ -308,8 +308,8 @@ public:
}
private:
char * block_data;
size_t block_size;
char * block_data = nullptr;
size_t current_block_offset = block_header_size;
/// TODO: Probably can be removed