forked from organicmaps/organicmaps
Diagnostic info for GetNodeAttrs().
This commit is contained in:
parent
5ff1a33998
commit
8d7020d147
1 changed files with 1 additions and 1 deletions
|
@ -1300,7 +1300,7 @@ void Storage::GetNodeAttrs(TCountryId const & countryId, NodeAttrs & nodeAttrs)
|
|||
|
||||
vector<TCountryTreeNode const *> nodes;
|
||||
m_countries.Find(countryId, nodes);
|
||||
CHECK(!nodes.empty(), ());
|
||||
CHECK(!nodes.empty(), (countryId));
|
||||
// If nodes.size() > 1 countryId corresponds to a disputed territories.
|
||||
// In that case it's guaranteed that most of attributes are equal for
|
||||
// each element of nodes. See Country class description for further details.
|
||||
|
|
Loading…
Add table
Reference in a new issue