forked from organicmaps/organicmaps
[generator] Fix warning: add explicit cast
This commit is contained in:
parent
d96c2f10d7
commit
ff6627d234
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ bool GenerateGeoObjectsData(string const & featuresFile, string const & nodesFil
|
|||
return true;
|
||||
|
||||
if (GeoObjectsFilter::IsPoi(fb))
|
||||
return nodeIds.count(fb.GetMostGenericOsmId().GetEncodedId());
|
||||
return 0 != nodeIds.count(fb.GetMostGenericOsmId().GetEncodedId());
|
||||
|
||||
return false;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue