WIP TreeSupports: Fixed some compiler warnings and errors.

This commit is contained in:
Vojtech Bubnik 2022-08-23 12:04:18 +02:00
parent b9e7cd2d7b
commit bfbfdaedb9
2 changed files with 9 additions and 5 deletions

View file

@ -575,12 +575,14 @@ private:
switch (type) {
case AvoidanceType::Fast: return m_avoidance_cache_to_model;
case AvoidanceType::Slow: return m_avoidance_cache_to_model_slow;
case AvoidanceType::Count: assert(false);
case AvoidanceType::FastSafe: return m_avoidance_cache_holefree_to_model;
}
} else {
switch (type) {
case AvoidanceType::Fast: return m_avoidance_cache;
case AvoidanceType::Slow: return m_avoidance_cache_slow;
case AvoidanceType::Count: assert(false);
case AvoidanceType::FastSafe: return m_avoidance_cache_holefree;
}
}