summaryrefslogtreecommitdiff
path: root/indra/llcommon/llsingleton.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-06-30 14:49:18 -0400
committerNat Goodspeed <nat@lindenlab.com>2015-06-30 14:49:18 -0400
commitd4fb82c217bccda536f7a7b2ca1809bb8c2dba40 (patch)
treeb78fb154485142f9411e2913bf4caea1b0592bc5 /indra/llcommon/llsingleton.h
parent8fee1565eb310081a7f3e26237ddd776c5a9aaaa (diff)
MAINT-5232: Add tests for new LLSingleton dependency functionality.
Diffstat (limited to 'indra/llcommon/llsingleton.h')
-rwxr-xr-xindra/llcommon/llsingleton.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llcommon/llsingleton.h b/indra/llcommon/llsingleton.h
index 253e0b9a6b..6a7f27bed4 100755
--- a/indra/llcommon/llsingleton.h
+++ b/indra/llcommon/llsingleton.h
@@ -32,8 +32,6 @@
#include <vector>
#include <typeinfo>
-// TODO:
-// Tests for all this!
class LLSingletonBase: private boost::noncopyable
{
public:
@@ -80,8 +78,8 @@ protected:
// Maintain a stack of the LLSingleton subclass instance currently being
// initialized. We use this to notice direct dependencies: we want to know
- // if A requires B. We deduce that if while initializing A, control
- // reaches B::getInstance().
+ // if A requires B. We deduce a dependency if while initializing A,
+ // control reaches B::getInstance().
// We want &A to be at the top of that stack during both A::A() and
// A::initSingleton(), since a call to B::getInstance() might occur during
// either.