forked from organicmaps/organicmaps
Fix bug with empty way-map.
This commit is contained in:
parent
42638a6fc9
commit
8fa7f6f5b9
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ protected:
|
|||
template <class ToDo>
|
||||
void ProcessWayPoints(way_map_t & m, ToDo toDo)
|
||||
{
|
||||
if (m.empty()) return;
|
||||
|
||||
uint64_t id = m.begin()->first;
|
||||
uint64_t const first = id;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue