From 9b05e3f6b467e76135769720f6e39a02d61343f3 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 3 Sep 2014 20:25:48 +0200 Subject: undo some things from rev 13530, to fix compile with gcc 4.9.0 -Werror=return-type (don't want to give up that flag) (bzr r13341.1.194) --- src/axis-manip.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/axis-manip.h b/src/axis-manip.h index 619b9089c..70cdb557e 100644 --- a/src/axis-manip.h +++ b/src/axis-manip.h @@ -15,6 +15,7 @@ #include #include #include +#include namespace Proj { @@ -104,7 +105,7 @@ inline Proj::Axis toProj(Box3D::Axis axis) { case Box3D::NONE: return Proj::NONE; default: - assert(false); + g_assert_not_reached(); } } @@ -127,7 +128,7 @@ inline Box3D::Axis toAffine(Proj::Axis axis) { case Proj::NONE: return Box3D::NONE; default: - assert(false); + g_assert_not_reached(); } } -- cgit v1.2.3