Skip to content

Commit

Permalink
Use size_t instead of auto in unit-test (LowCardinalityFixedString).
Browse files Browse the repository at this point in the history
  • Loading branch information
german3w1 authored Jan 29, 2024
1 parent 677ade6 commit a7ac900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ut/columns_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ColumnLowCardinalityT<ColumnFixedString>>(fixed_size);
const size_t fixed_size = 10;
const auto col = std::make_shared<ColumnLowCardinalityT<ColumnFixedString>>(fixed_size);

ASSERT_EQ(fixed_size, col->GetNestedType()->As<FixedStringType>()->GetSize());
}
Expand Down

0 comments on commit a7ac900

Please sign in to comment.