diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-08-13 21:46:12 +0300 | 
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-08-13 21:46:12 +0300 | 
| commit | bc5d79e06e1664abd33fbe41e5ec3655f33b7e32 (patch) | |
| tree | d05aa30492ce6cbe19bfd8faabd488d8ab3ea1e6 | |
| parent | 82f259b133bf8e7a2686fbf94a2759cb69e5dc37 (diff) | |
DRTVWR-493 Test fix for W64
| -rw-r--r-- | indra/llcommon/tests/llsingleton_test.cpp | 6 | 
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; +            }          }      }; | 
