From 5e90245785484294a16da6331951892d98ec4fae Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Tue, 17 Sep 2024 09:47:16 +0200 Subject: [PATCH] shell: add fallthrough markup --- Core/src/Geometry/PortalShell.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/Geometry/PortalShell.cpp b/Core/src/Geometry/PortalShell.cpp index f74e8460d9d..26e524d5377 100644 --- a/Core/src/Geometry/PortalShell.cpp +++ b/Core/src/Geometry/PortalShell.cpp @@ -212,6 +212,7 @@ std::shared_ptr CylinderStackPortalShell::portalPtr(Face face) { case InnerCylinder: return m_shells.front()->portalPtr(InnerCylinder); case NegativePhiPlane: + [[fallthrough]]; case PositivePhiPlane: return nullptr; default: @@ -231,6 +232,7 @@ std::shared_ptr CylinderStackPortalShell::portalPtr(Face face) { case InnerCylinder: return m_shells.front()->portalPtr(face); case NegativePhiPlane: + [[fallthrough]]; case PositivePhiPlane: return nullptr; default: