Fix compilation error when lambdas are used in assertions

This is a partial revert of b7b346c3e5.
This commit is contained in:
Martin Hořeňovský committed 2020-03-19 13:32:45 +01:00
1 parent 5f94c8dafb
commit 3a33315ff8
9 files changed
+36 -10

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \
} INTERNAL_CATCH_CATCH( catchAssertionHandler ) \
INTERNAL_CATCH_REACT( catchAssertionHandler ) \
} while( false )
} while( (void)0, (false) && static_cast<bool>( !!(__VA_ARGS__) ) )
///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CATCH_IF( macroName, resultDisposition, ... ) \