Remove warnings

Update Ghoul repository
Fix spelling mistake in openspace.cfg
This commit is contained in:
Alexander Bock
2017-06-08 00:07:51 -04:00
parent 1e0240b47a
commit 9a7eba16bd
24 changed files with 66 additions and 58 deletions
@@ -92,7 +92,7 @@ Geodetic2 GeodeticPatch::getCorner(Quad q) const {
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: ghoul_assert(false, "Missing case label");
default: throw ghoul::MissingCaseException();
}
}
+5 -10
View File
@@ -240,16 +240,11 @@ int PixelRegion::area() const {
int PixelRegion::edge(Side side) const {
switch (side) {
case Side::LEFT:
return start.x;
case Side::TOP:
return start.y;
case Side::RIGHT:
return start.x + numPixels.x;
case Side::BOTTOM:
return start.y + numPixels.y;
default:
ghoul_assert(false, "Missing case label");
case Side::LEFT: return start.x;
case Side::TOP: return start.y;
case Side::RIGHT: return start.x + numPixels.x;
case Side::BOTTOM: return start.y + numPixels.y;
default: throw ghoul::MissingCaseException();
}
}