forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
ec0c35c719
commit
135289ef0d
1 changed files with 3 additions and 1 deletions
|
@ -146,7 +146,9 @@ void CrossMwmGraph::GetTwins(Segment const & s, bool isOutgoing, vector<Segment>
|
|||
bool allNeighborsHaveCrossMwmSection = false;
|
||||
GetAllLoadedNeighbors(s.GetMwmId(), neighbors, allNeighborsHaveCrossMwmSection);
|
||||
MwmStatus const currentMwmStatus = GetMwmStatus(s.GetMwmId());
|
||||
CHECK(currentMwmStatus != MwmStatus::NotLoaded, ("Current mwm is not loaded. Mwm:", m_numMwmIds->GetFile(s.GetMwmId())));
|
||||
CHECK(currentMwmStatus != MwmStatus::NotLoaded,
|
||||
("Current mwm is not loaded. Mwm:", m_numMwmIds->GetFile(s.GetMwmId()), "currentMwmStatus:",
|
||||
currentMwmStatus));
|
||||
if (allNeighborsHaveCrossMwmSection && currentMwmStatus == MwmStatus::CrossMwmSectionExists)
|
||||
{
|
||||
DeserializeTransitions(neighbors);
|
||||
|
|
Loading…
Add table
Reference in a new issue