From 47b097038aaad4b7049a32402f3def7490739b11 Mon Sep 17 00:00:00 2001 From: Moritz Kobitzsch Date: Wed, 16 Nov 2016 10:08:34 +0100 Subject: [PATCH] fixes warning due to type only used in debug --- src/storage/storage.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/storage/storage.cpp b/src/storage/storage.cpp index 31ca7f662..0a26e5f8c 100644 --- a/src/storage/storage.cpp +++ b/src/storage/storage.cpp @@ -498,11 +498,9 @@ void Storage::PopulateData(const DataLayout &layout, char *memory_ptr) const auto name_blocks_count = name_file.ReadElementCount32(); name_file.Skip(1); // name_char_list_count - using NameRangeTable = util::RangeTable<16, true>; - BOOST_ASSERT(name_blocks_count * sizeof(unsigned) == layout.GetBlockSize(DataLayout::NAME_OFFSETS)); - BOOST_ASSERT(name_blocks_count * sizeof(typename NameRangeTable::BlockT) == + BOOST_ASSERT(name_blocks_count * sizeof(typename util::RangeTable<16, true>::BlockT) == layout.GetBlockSize(DataLayout::NAME_BLOCKS)); // Loading street names