diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-12-20 09:44:10 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-12-20 09:44:10 -0500 |
commit | 573287b50f5005a279ea1ec42c4ddc18bd9c996b (patch) | |
tree | 5a06bf7d13e586e5159b74e18b37aca981a1a44a /indra/cmake/LLXML.cmake | |
parent | 2499f6bcff53812d1d8bd1a73d657ef1861d7482 (diff) |
DRTVWR-418: Fix API for LLTracker::stopTracking().
The signature for LLTracker::stopTracking() was silly: it accepted a void* for
the sole purpose of testing whether it was NULL. In other words, the parameter
was really a bool in void* clothing. Most callers passed NULL.
What got ugly was when you wanted to pass 'true', or a variable bool value.
Such values had to be cast to void*. In 64-bit land, the compiler correctly
flags that as extremely dubious practice.
But it's entirely unnecessary. Since stopTracking() wants a bool, change its
parameter to bool. Everybody wins.
(While at it, change a few related method params from BOOL to builtin bool.)
Diffstat (limited to 'indra/cmake/LLXML.cmake')
0 files changed, 0 insertions, 0 deletions