Review fixes.

This commit is contained in:
Vladimir Byko-Ianko 2017-04-21 15:13:14 +03:00 committed by Добрый Ээх
parent ec0c35c719
commit 135289ef0d

View file

@ -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);