[generator] GCC build fix.

This commit is contained in:
tatiana-yan 2018-12-06 19:34:03 +03:00 committed by Vladimir Byko-Ianko
parent b6071788e1
commit 1513218db9

View file

@ -33,7 +33,7 @@ void ParseFeatureToBrand(json_t * root, string const & field, GeoObjectId::Type
json_t * value;
json_object_foreach(arr, key, value)
{
result.push_back({});
result.push_back(pair<GeoObjectId, uint32_t>());
uint64_t id;
if (!strings::to_uint64(key, id))
MYTHROW(ParsingError, ("Incorrect OSM id:", key));