Tidied exception check macros

This commit is contained in:
Phil Nash committed 2011-03-14 08:49:42 +00:00
1 parent 0dc4508d72
commit c27e6dc838
2 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -563,7 +563,7 @@ inline bool isTrue
}
///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CATCH_THROWS( expr, exceptionType, nothrow, stopOnFailure, macroName ) \
#define INTERNAL_CATCH_THROWS( expr, exceptionType, stopOnFailure, macroName ) \
try \
{ \
using namespace Catch; \
@@ -577,8 +577,8 @@ inline bool isTrue
}
///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CATCH_THROWS_AS( expr, exceptionType, nothrow, stopOnFailure, macroName ) \
INTERNAL_CATCH_THROWS( expr, exceptionType, nothrow, stopOnFailure, macroName ) \
#define INTERNAL_CATCH_THROWS_AS( expr, exceptionType, stopOnFailure, macroName ) \
INTERNAL_CATCH_THROWS( expr, exceptionType, stopOnFailure, macroName ) \
catch( ... ) \
{ \
using namespace Catch; \