Skip to content

Commit

Permalink
shell: add fallthrough markup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Sep 17, 2024
1 parent ad8c60f commit 5e90245
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core/src/Geometry/PortalShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ std::shared_ptr<Portal> CylinderStackPortalShell::portalPtr(Face face) {
case InnerCylinder:
return m_shells.front()->portalPtr(InnerCylinder);
case NegativePhiPlane:
[[fallthrough]];
case PositivePhiPlane:
return nullptr;
default:
Expand All @@ -231,6 +232,7 @@ std::shared_ptr<Portal> CylinderStackPortalShell::portalPtr(Face face) {
case InnerCylinder:
return m_shells.front()->portalPtr(face);
case NegativePhiPlane:
[[fallthrough]];
case PositivePhiPlane:
return nullptr;
default:
Expand Down

0 comments on commit 5e90245

Please sign in to comment.