summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-08-12 17:35:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2019-08-12 17:35:45 -0400
commit4fce6dc4353dbf9ccd3c9c3aced89df72a4f3abd (patch)
tree818dfbed3ede3f6700801d592e7e3c4db28788e2 /indra/newview
parent5a72d34b7676031da35f93c91eda3eab01085aff (diff)
DRTVWR-493: Permit LLParamSingleton::initSingleton() circularity.
This was forbidden, but AndreyK points out cases in which LLParamSingleton:: initSingleton() should in fact be allowed to circle back to its own instance() method. Use a recursive_mutex instead of plain mutex to permit that; remove LL_ERRS preventing it. Add LLParamSingleton::instance() method that calls LLParamSingleton::getInstance(). Inheriting LLSingleton::instance() called LLSingleton::getInstance() -- not at all what we want. Add LLParamSingleton unit tests.
Diffstat (limited to 'indra/newview')
0 files changed, 0 insertions, 0 deletions