From 6bf83872ad6271091bc6011c86a2087ef3194652 Mon Sep 17 00:00:00 2001 From: Pavel Kartavyy Date: Thu, 16 Jun 2016 15:14:06 +0300 Subject: [PATCH] dbms: fix build --- dbms/include/DB/IO/CompressedReadBufferBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/include/DB/IO/CompressedReadBufferBase.h b/dbms/include/DB/IO/CompressedReadBufferBase.h index 86367bb8625..a1fe714c04b 100644 --- a/dbms/include/DB/IO/CompressedReadBufferBase.h +++ b/dbms/include/DB/IO/CompressedReadBufferBase.h @@ -124,7 +124,7 @@ protected: if (!qlz_state) qlz_state = std::make_unique(); - qlz_decompress(&compressed_buffer[0], to, qlz_state); + qlz_decompress(&compressed_buffer[0], to, qlz_state.get()); #else throw Exception("QuickLZ compression method is disabled", ErrorCodes::UNKNOWN_COMPRESSION_METHOD); #endif