diff options
Diffstat (limited to 'indra/test')
| -rw-r--r-- | indra/test/test.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index 4f966aede8..52ac855d9f 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -75,7 +75,7 @@  #include <fstream> -LLError::ErrCrashHandlerResult wouldHaveCrashed(const std::string& message) +LLError::ErrFatalHookResult wouldHaveCrashed(const std::string& message)  {  	tut::fail("fatal error message: " + message);      return LLError::ERR_DO_NOT_CRASH; @@ -150,7 +150,7 @@ public:  		mOldSettings(LLError::saveAndResetSettings()),  		mRecorder(new RecordToTempFile(pool))  	{ -		LLError::setFatalHandler(wouldHaveCrashed); +		LLError::setFatalHook(wouldHaveCrashed);  		LLError::setDefaultLevel(level);  		LLError::addRecorder(mRecorder);  	} @@ -531,7 +531,7 @@ int main(int argc, char **argv)  		LLError::initForApplication(".", ".", false /* do not log to stderr */);  		LLError::setDefaultLevel(LLError::LEVEL_DEBUG);  	}	 -	LLError::setFatalHandler(wouldHaveCrashed); +	LLError::setFatalHook(wouldHaveCrashed);  	std::string test_app_name(argv[0]);  	std::string test_log = test_app_name + ".log";  	LLFile::remove(test_log);  | 
