Diagnostic info for GetNodeAttrs().

This commit is contained in:
Vladimir Byko-Ianko 2016-04-06 11:36:41 +03:00
parent 5ff1a33998
commit 8d7020d147

View file

@ -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.