Enable warnings for missing case labels and subsequent cleanup. Updated ghoul, sgct, and codegen repository for same

This commit is contained in:
Alexander Bock
2023-11-05 22:16:06 +01:00
parent 549f360be6
commit 870850db07
27 changed files with 116 additions and 147 deletions
+4 -4
View File
@@ -106,10 +106,10 @@ Geodetic2 GeodeticPatch::size() const {
Geodetic2 GeodeticPatch::corner(Quad q) const {
switch (q) {
case NORTH_WEST: return Geodetic2{ maxLat(), minLon() };// northWestCorner();
case NORTH_EAST: return Geodetic2{ maxLat(), maxLon() };// northEastCorner();
case SOUTH_WEST: return Geodetic2{ minLat(), minLon() };// southWestCorner();
case SOUTH_EAST: return Geodetic2{ minLat(), maxLon() };// southEastCorner();
case NORTH_WEST: return Geodetic2{ maxLat(), minLon() }; // northWestCorner();
case NORTH_EAST: return Geodetic2{ maxLat(), maxLon() }; // northEastCorner();
case SOUTH_WEST: return Geodetic2{ minLat(), minLon() }; // southWestCorner();
case SOUTH_EAST: return Geodetic2{ minLat(), maxLon() }; // southEastCorner();
default: throw ghoul::MissingCaseException();
}
}