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: