Fix order of arguments in CATCH_FAIL and nonvariadic INTERNAL_CATCH_MSG

Fixes #896
This commit is contained in:
Martin Hořeňovský 2017-04-28 18:30:04 +02:00
parent 6e0fa4be68
commit 5ffc8a84cd
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@
INTERNAL_CATCH_REACT( __catchResult ) \
} while( Catch::alwaysFalse() )
#else
#define INTERNAL_CATCH_MSG( messageType, resultDisposition, macroName, log ) \
#define INTERNAL_CATCH_MSG( macroName, messageType, resultDisposition, log ) \
do { \
Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, "", resultDisposition ); \
__catchResult << log + ::Catch::StreamEndStop(); \