Skip to content

Commit

Permalink
simplify requires clause
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Jul 17, 2024
1 parent e373198 commit 8a6af71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/critter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ bool update_movement_1(critter& C, size_t& i, const anim_def& info, uint32_t nfr
}

template<rotation new_r>
requires (((int)new_r & 1) % 2 == 0)
requires ((int)new_r % 2 == 0)
CORRADE_NEVER_INLINE
bool update_movement_1(critter& C, size_t& i, const anim_def& info, uint32_t nframes)
{
Expand Down

0 comments on commit 8a6af71

Please sign in to comment.