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 Oct 1, 2024
1 parent 522d5c3 commit 26d4cf6
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 26d4cf6

Please sign in to comment.