summaryrefslogtreecommitdiff
path: root/indra/llcommon/llmemory.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-06-26 13:03:59 -0400
committerNat Goodspeed <nat@lindenlab.com>2015-06-26 13:03:59 -0400
commit687efd84eabc524e339e61458b0cbf53f9a38f8a (patch)
tree492879aa9fa5e9383a5a3a7c285e7aaf4cc6df13 /indra/llcommon/llmemory.h
parentaefdba1230de456784d220982ab8b4dbe3cde17d (diff)
MAINT-5232: Loosen LLSingleton circularity constraints slightly.
LLSingleton explicitly supports circular dependencies: initialization performed during an LLSingleton subclass's initSingleton() method may recursively call that same subclass's getInstance() method. On the other hand, circularity from a subclass constructor cannot be permitted, else getInstance() would have to return a partially-constructed object. Our dependency tracking circularity check initially forbade both. Loosen it to permit references from within initSingleton().
Diffstat (limited to 'indra/llcommon/llmemory.h')
0 files changed, 0 insertions, 0 deletions