Remove class names from addClamped() docstring

This commit is contained in:
DawnFire42 2026-06-28 19:03:01 -04:00
parent 2995fa4300
commit 338e600cc9
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33

View file

@ -7,8 +7,8 @@
/**
* @brief Overflow-safe clamped addition: returns value + delta bounded to [minValue, maxValue].
*
* Uses a 64-bit intermediate so the addition cannot overflow int. Shared by the counter
* arithmetic in Server_Card, Server_Counter, and PlayerActions.
* Uses a 64-bit intermediate so the addition cannot overflow int. Shared by the bounded
* counter arithmetic in both the client and the server.
*
* @note Requires minValue <= maxValue. Bounds come from trusted compile-time call sites;
* qBound() asserts this internally in debug builds.