[Libreoffice-commits] cppunit.git: include/cppunit
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Feb 14 14:42:17 UTC 2019
include/cppunit/TestAssert.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 51efd6f2184405dea29265ea0dd25c71b348404a
Author: Tobias Groll <groll at cs.uni-kl.de>
AuthorDate: Thu Jan 10 17:03:47 2019 +0100
Commit: Markus Mohrhard <markus.mohrhard at googlemail.com>
CommitDate: Thu Feb 14 22:40:58 2019 +0800
Added some brackets to make it more clear for the compile which things belongs to the if body
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() ); \
More information about the Libreoffice-commits
mailing list