From a7ac900e255866eebae9595031c7d23d9bf48185 Mon Sep 17 00:00:00 2001 From: gerrra Date: Mon, 29 Jan 2024 16:09:49 +0300 Subject: [PATCH] Use size_t instead of auto in unit-test (LowCardinalityFixedString). --- ut/columns_ut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ut/columns_ut.cpp b/ut/columns_ut.cpp index 439c5d92..623fdf0e 100644 --- a/ut/columns_ut.cpp +++ b/ut/columns_ut.cpp @@ -877,8 +877,8 @@ TEST(ColumnsCase, ColumnLowCardinalityString_WithEmptyString_3) { } TEST(ColumnsCase, ColumnLowCardinalityFixedString_Type_Size_Eq) { - const auto fixed_size = 10; - const auto col = std::make_shared>(fixed_size); + const size_t fixed_size = 10; + const auto col = std::make_shared>(fixed_size); ASSERT_EQ(fixed_size, col->GetNestedType()->As()->GetSize()); }