mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 09:22:18 -07:00
Remove class names from addClamped() docstring
This commit is contained in:
parent
2995fa4300
commit
338e600cc9
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue