forked from organicmaps/organicmaps
Dangling reference fixing.
This commit is contained in:
parent
8b8e73e58a
commit
9ed6d65a3f
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ void ReEncodeOsmIdsToFeatureIdsMapping(std::string const & mappingContent, std::
|
|||
gen::Accumulator<std::pair<base::GeoObjectId, uint32_t>> osmIdsToFeatureIds;
|
||||
for (; lineIter; ++lineIter)
|
||||
{
|
||||
strings::SimpleTokenizer idIter(*lineIter, ", \t" /* id delimiters */);
|
||||
auto const & line = *lineIter;
|
||||
strings::SimpleTokenizer idIter(line, ", \t" /* id delimiters */);
|
||||
uint64_t osmId = 0;
|
||||
TEST(idIter, ());
|
||||
TEST(strings::to_uint64(*idIter, osmId), ("Cannot convert to uint64_t:", *idIter));
|
||||
|
|
Loading…
Add table
Reference in a new issue