summaryrefslogtreecommitdiff
path: root/indra/newview/llimprocessing.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-10-12 16:55:04 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-10-12 16:55:04 -0400
commitf5a34fd074bda091732a8ae0a4cf6f4e0358a140 (patch)
tree25d75210c52331063b06b9edda738723740be16b /indra/newview/llimprocessing.cpp
parentbe5a6e617971e3a786319ca92f2524fd6acc46da (diff)
SL-18837: Unify all llrand_test.cpp in-range tests.
The header file documents that no llrand function should ever return a value equal to the passed extent, so the one test in llrand_test.cpp that checked less than or equal to the high end of the range was anomalous. But changing that to an exclusive range means that we no longer need separate exclusive range and inclusive range functions. Replace ensure_in_range_using(), ensure_in_exc_range() and ensure_in_inc_range() with a grand unified (simplified) ensure_in_range() function.
Diffstat (limited to 'indra/newview/llimprocessing.cpp')
0 files changed, 0 insertions, 0 deletions