projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed "dangling-else" GCC7 warning
[libcds.git]
/
test
/
stress
/
stack
/
push.cpp
diff --git
a/test/stress/stack/push.cpp
b/test/stress/stack/push.cpp
index a580e85861eb3f89e73f41f217d45ad711d3eb02..1ba57d7a156d91fa135eec98d4f92e4c725993fd 100644
(file)
--- a/
test/stress/stack/push.cpp
+++ b/
test/stress/stack/push.cpp
@@
-193,8
+193,9
@@
namespace {
size_t nError = 0;
for ( size_t i = 0; i < nTotalItems; ++i ) {
EXPECT_EQ( arr[i], 1 ) << "i=" << i;
- if ( ++nError > 10 )
+ if ( ++nError > 10 )
{
ASSERT_EQ( arr[i], 1 );
+ }
}
}
};