diff options
author | Oz Linden <oz@lindenlab.com> | 2019-03-05 13:57:02 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2019-03-05 13:57:02 -0500 |
commit | 07870a9ebb17e7a31df276f4ac2d8f52fec2a3b0 (patch) | |
tree | 44d347784baca004016feb5a7d88df51ff9f0eef /indra/llcommon/tests/llerror_test.cpp | |
parent | e86c0b3d0fbc5f91090241be959ef19bfffd8636 (diff) |
rename crash handler to hook, and make them chainable by putting back the get and documenting it
Diffstat (limited to 'indra/llcommon/tests/llerror_test.cpp')
-rw-r--r-- | indra/llcommon/tests/llerror_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/tests/llerror_test.cpp b/indra/llcommon/tests/llerror_test.cpp index 9dcb5c145f..9895abc1f3 100644 --- a/indra/llcommon/tests/llerror_test.cpp +++ b/indra/llcommon/tests/llerror_test.cpp @@ -70,7 +70,7 @@ namespace namespace { static bool fatalWasCalled; - LLError::ErrCrashHandlerResult fatalCall(const std::string&) + LLError::ErrFatalHookResult fatalHook(const std::string&) { fatalWasCalled = true; return LLError::ERR_DO_NOT_CRASH; @@ -124,7 +124,7 @@ namespace tut mPriorErrorSettings = LLError::saveAndResetSettings(); LLError::setDefaultLevel(LLError::LEVEL_DEBUG); - LLError::setFatalHandler(fatalCall); + LLError::setFatalHook(fatalHook); LLError::addRecorder(mRecorder); } |