One more assert

This commit is contained in:
nsubiron 2019-03-29 17:47:30 +01:00
parent 95afd66579
commit bc6b80fe90
1 changed files with 1 additions and 0 deletions

View File

@ -614,6 +614,7 @@ namespace road {
// add to each lane found, this as its predecessor
for (auto next_lane : lane.second._next_lanes) {
// add as previous
DEBUG_ASSERT(next_lane != nullptr);
next_lane->_prev_lanes.push_back(&lane.second);
}