diff --git a/Core/include/Acts/Surfaces/ConvexPolygonBounds.hpp b/Core/include/Acts/Surfaces/ConvexPolygonBounds.hpp index dd389f9d0b21594aca1bb992208e95c5eafac44e..aef8eff127b625618ca9631bef32be5b7901f590 100644 --- a/Core/include/Acts/Surfaces/ConvexPolygonBounds.hpp +++ b/Core/include/Acts/Surfaces/ConvexPolygonBounds.hpp @@ -131,7 +131,7 @@ class ConvexPolygonBounds : public ConvexPolygonBoundsBase { /// Return whether this bounds class is in fact convex /// throws a log error if not - void checkConsistency() const throw(std::logic_error); + void checkConsistency() const noexcept(false); }; /// Tag to trigger specialization of a dynamic polygon @@ -198,7 +198,7 @@ class ConvexPolygonBounds<PolygonDynamic> : public ConvexPolygonBoundsBase { /// Return whether this bounds class is in fact convex /// thorws a logic error if not - void checkConsistency() const throw(std::logic_error); + void checkConsistency() const noexcept(false); }; } // namespace Acts