[generator] Fixed warning: enumeration values 'Unknown' and 'Locality' not handled in switch

This commit is contained in:
Maksim Andrianov 2019-01-30 17:06:34 +03:00 committed by Vlad Mihaylenko
parent a69b56582a
commit fe8c945cda

View file

@ -73,6 +73,9 @@ double Region::GetRadiusByPlaceType(PlaceType place)
case PlaceType::Neighbourhood:
case PlaceType::IsolatedDwelling:
return 0.0035;
case PlaceType::Locality:
case PlaceType::Unknown:
UNREACHABLE();
}
UNREACHABLE();
}