summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-08-13 21:46:12 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-08-13 21:46:12 +0300
commitbc5d79e06e1664abd33fbe41e5ec3655f33b7e32 (patch)
treed05aa30492ce6cbe19bfd8faabd488d8ab3ea1e6 /indra/llcommon/tests
parent82f259b133bf8e7a2686fbf94a2759cb69e5dc37 (diff)
DRTVWR-493 Test fix for W64
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r--indra/llcommon/tests/llsingleton_test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsingleton_test.cpp b/indra/llcommon/tests/llsingleton_test.cpp
index da7bc6355c..75ddff9d7d 100644
--- a/indra/llcommon/tests/llsingleton_test.cpp
+++ b/indra/llcommon/tests/llsingleton_test.cpp
@@ -311,7 +311,11 @@ namespace tut
virtual void initSingleton()
{
// never mind indirection, just go straight for the circularity
- (void)instance();
+ CircularPInit *pt = getInstance();
+ if (!pt)
+ {
+ throw;
+ }
}
};