From 66cec1c774496ad203d55446815449a64d9da5be Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Mon, 16 Oct 2017 20:05:16 +0300 Subject: [PATCH] Fixed warning --- indexer/ftraits.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indexer/ftraits.hpp b/indexer/ftraits.hpp index 154c48e2f8..a7c05c0d42 100644 --- a/indexer/ftraits.hpp +++ b/indexer/ftraits.hpp @@ -71,11 +71,10 @@ class UGC : public TraitsBase coding::CSVReader reader; auto const fileReader = GetPlatform().GetReader("ugc_types.csv"); reader.Read(*fileReader, [this](coding::CSVReader::Row const & row) { - size_t constexpr kItemsCount = 5; size_t constexpr kTypePos = 0; size_t constexpr kCategoriesPos = 4; - ASSERT_EQUAL(row.size(), kItemsCount, ()); + ASSERT_EQUAL(row.size(), 5, ()); UGCItem item(ReadMasks(row), ParseByWhitespaces(row[kCategoriesPos])); m_matcher.AppendType(ParseByWhitespaces(row[kTypePos]), std::move(item));