mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 08:48:03 +00:00
Remove unhandled exception catcher
This commit is contained in:
@@ -55,10 +55,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef BEAST_CATCH_UNHANDLED_EXCEPTIONS
|
||||
#define BEAST_CATCH_UNHANDLED_EXCEPTIONS 0
|
||||
#endif
|
||||
|
||||
#if BEAST_DEBUG && ! defined (BEAST_CHECK_MEMORY_LEAKS)
|
||||
#define BEAST_CHECK_MEMORY_LEAKS 1
|
||||
#endif
|
||||
|
||||
@@ -329,15 +329,6 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
static int beastCatchExceptions ()
|
||||
{
|
||||
#ifdef BEAST_CATCH_UNHANDLED_EXCEPTIONS
|
||||
return BEAST_CATCH_UNHANDLED_EXCEPTIONS;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
void runTest ()
|
||||
{
|
||||
beginTestCase ("diagnostics");
|
||||
@@ -346,7 +337,6 @@ public:
|
||||
logMessage ("_DEBUG = " + String::fromNumber (envDebug ()));
|
||||
logMessage ("BEAST_DEBUG = " + String::fromNumber (beastDebug ()));
|
||||
logMessage ("BEAST_FORCE_DEBUG = " + String::fromNumber (beastForceDebug ()));
|
||||
logMessage ("BEAST_CATCH_UNHANDLED_EXCEPTIONS = " + String::fromNumber (beastCatchExceptions ()));
|
||||
logMessage ("sizeof(std::size_t) = " + String::fromNumber (sizeof(std::size_t)));
|
||||
bassertfalse;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user