diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-08-20 20:55:48 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-08-20 20:55:48 -0400 |
commit | 68313aa2defcc7d6e5ebbd96344d78f3a31fdb9a (patch) | |
tree | 9a7afe2af1ebb49c8af4fe2bc05096c9086a3b6f /indra/llcommon/llstl.h | |
parent | a5337adf79b6a49166a15836ca2822adbb50d8c3 (diff) |
Fix TempSet to use type VAR to store mOldValue.
In fact we set mOldValue from mVar, and restore mVar from mOldValue, so the
VAR type makes the most sense. The previous way, you'd get actual errors if
you tried to use TempSet(pointervar, nullptr): that declared mOldValue to be
nullptr_t, which you can't initialize from mVar.
Diffstat (limited to 'indra/llcommon/llstl.h')
0 files changed, 0 insertions, 0 deletions