Remove BEAST_CATCH_UNHANDLED_EXCEPTIONS

This commit is contained in:
Vinnie Falco
2013-09-09 13:34:18 -07:00
parent d8ea4f9b06
commit 4676db126a
6 changed files with 15 additions and 59 deletions

View File

@@ -172,22 +172,6 @@ template <> struct BeastStaticAssert <true> { static void dummy() {} };
//------------------------------------------------------------------------------
#if BEAST_CATCH_UNHANDLED_EXCEPTIONS
# define BEAST_TRY try
# define BEAST_CATCH_ALL catch (...) {}
# define BEAST_CATCH_ALL_ASSERT catch (...) { bassertfalse; }
# define BEAST_CATCH_EXCEPTION BEAST_CATCH_ALL
#else
# define BEAST_TRY
# define BEAST_CATCH_EXCEPTION
# define BEAST_CATCH_ALL
# define BEAST_CATCH_ALL_ASSERT
#endif
//------------------------------------------------------------------------------
#if BEAST_DEBUG || DOXYGEN
/** A platform-independent way of forcing an inline function.
Use the syntax: @code