diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2015-05-22 14:02:24 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2015-05-22 14:02:24 -0400 |
commit | 331e932857e1156a68b6d39d3ea2d8c1f39ec7ae (patch) | |
tree | 95f3c0d71ad445b773b2809a82fb5a8dd3a42d71 /indra/llcommon/tests | |
parent | 107b9bcb70e785c2d12515e38b8b296eea7ab8d8 (diff) |
MAINT-5232: Clean up some dubious LLSingleton methods.
Remove evil getIfExists() method, used by no one.
Remove evil destroyed() method, used in exactly three places -- one of which
is a test. Replace with equally evil instanceExists() method, which is used
EVERYWHERE -- sigh.
Diffstat (limited to 'indra/llcommon/tests')
-rwxr-xr-x | indra/llcommon/tests/llsingleton_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsingleton_test.cpp b/indra/llcommon/tests/llsingleton_test.cpp index 385289aefe..bed436283a 100755 --- a/indra/llcommon/tests/llsingleton_test.cpp +++ b/indra/llcommon/tests/llsingleton_test.cpp @@ -65,7 +65,6 @@ namespace tut //Delete the instance LLSingletonTest::deleteSingleton(); - ensure(LLSingletonTest::destroyed()); ensure(!LLSingletonTest::instanceExists()); //Construct it again. |