From 51efd6f2184405dea29265ea0dd25c71b348404a Mon Sep 17 00:00:00 2001 From: Tobias Groll Date: Thu, 10 Jan 2019 17:03:47 +0100 Subject: Added some brackets to make it more clear for the compile which things belongs to the if body --- include/cppunit/TestAssert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cppunit/TestAssert.h b/include/cppunit/TestAssert.h index 1e17868..521a4e4 100644 --- a/include/cppunit/TestAssert.h +++ b/include/cppunit/TestAssert.h @@ -551,7 +551,7 @@ void assertGreaterEqual( const T& expected, } \ \ if ( cpputCorrectExceptionThrown_ ) \ - break; \ + { break; } \ \ CPPUNIT_NS::Asserter::fail( cpputMsg_, \ CPPUNIT_SOURCELINE() ); \ -- cgit v1.2.3