From ffe9cc06717671e2d1558c363cad3c74cde92e42 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 9 Oct 2023 00:07:42 -0600 Subject: [PATCH] Fix incorrect assertion comment --- include/SFML/System/Angle.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/System/Angle.inl b/include/SFML/System/Angle.inl index 283170826..823b67560 100644 --- a/include/SFML/System/Angle.inl +++ b/include/SFML/System/Angle.inl @@ -215,7 +215,7 @@ constexpr float operator/(Angle left, Angle right) //////////////////////////////////////////////////////////// constexpr Angle operator%(Angle left, Angle right) { - assert(right.asDegrees() != 0 && "Angle::operator% cannot divide by 0"); + assert(right.asDegrees() != 0 && "Angle::operator% cannot modulus by 0"); return degrees(priv::positiveRemainder(left.asDegrees(), right.asDegrees())); }