Suppress warning about constant conditional
This commit is contained in:
1 parent
777b8af589
commit
5ff4ab0a76
2 files changed
+2
-2
No files matched your search
@@ -692,7 +692,7 @@ inline bool isTrue
|
||||
} catch( ... ){ \
|
||||
INTERNAL_CATCH_ACCEPT_EXPR( ( Catch::ResultBuilder( __FILE__, __LINE__, macroName, #expr ) << Catch::Hub::getExceptionTranslatorRegistry().translateActiveException() ).setResultType( Catch::ResultWas::ThrewException ), false ); \
|
||||
throw; \
|
||||
}}while(0)
|
||||
}}while( Catch::isTrue( false ) )
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#define INTERNAL_CATCH_IF( expr, isNot, stopOnFailure, macroName ) \
|
||||
|
||||
Reference in new issue
Block a user