Skip to content

Commit

Permalink
fixed warning unhandled enumeration value in switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogumil-Sapinski-Mobica committed Jun 26, 2023
1 parent 28f1bda commit 90ea40f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/extensions/khr/conway/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ void Conway::event(const sf::Event& event)
animating = !animating;
}
break;
default:
break;
}
}

Expand Down
2 changes: 2 additions & 0 deletions samples/extensions/khr/nbody/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ void NBody::event(const sf::Event& event)
dist = abs(dist);
needMatrixReset = true; // view matrix need to be recalculated
break;
default:
break;
}
}

Expand Down

0 comments on commit 90ea40f

Please sign in to comment.