From d23f9671488994e8c20d881795cce331963a6fd2 Mon Sep 17 00:00:00 2001 From: Alexander Burmak Date: Thu, 9 Jan 2020 17:18:00 +0300 Subject: [PATCH] Fixed release build - v2 --- .../Compression/tests/gtest_compressionCodec.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/dbms/src/Compression/tests/gtest_compressionCodec.cpp b/dbms/src/Compression/tests/gtest_compressionCodec.cpp index 37807632eff..b2b4f6918e6 100644 --- a/dbms/src/Compression/tests/gtest_compressionCodec.cpp +++ b/dbms/src/Compression/tests/gtest_compressionCodec.cpp @@ -301,10 +301,6 @@ struct Codec : codec_statement(std::move(codec_statement_)), expected_compression_ratio(expected_compression_ratio_) {} - - Codec() - : Codec(std::string()) - {} }; @@ -314,11 +310,7 @@ struct CodecTestSequence std::vector serialized_data; DataTypePtr data_type; - CodecTestSequence() - : name(), - serialized_data(), - data_type() - {} + CodecTestSequence() = default; CodecTestSequence(std::string name_, std::vector serialized_data_, DataTypePtr data_type_) : name(name_), @@ -326,11 +318,6 @@ struct CodecTestSequence data_type(data_type_) {} - CodecTestSequence(const CodecTestSequence &) = default; - CodecTestSequence & operator=(const CodecTestSequence &) = default; - CodecTestSequence(CodecTestSequence &&) = default; - CodecTestSequence & operator=(CodecTestSequence &&) = default; - CodecTestSequence & append(const CodecTestSequence & other) { assert(data_type->equals(*other.data_type));