forked from organicmaps/organicmaps
[core] active_maps_layout constructor fix
This commit is contained in:
parent
708210ddb4
commit
8239382967
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ void ActiveMapsLayout::Init()
|
|||
TStatus status;
|
||||
TMapOptions options;
|
||||
storage.CountryStatusEx(index, status, options);
|
||||
ASSERT(status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate, ());
|
||||
m_items.push_back({ index, status, options, options });
|
||||
if (status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate)
|
||||
m_items.push_back({ index, status, options, options });
|
||||
};
|
||||
|
||||
TIndex root;
|
||||
|
|
Loading…
Add table
Reference in a new issue