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 20, 2024
1 parent 6057db9 commit ea1c52e
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 ea1c52e

Please sign in to comment.