2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-24 18:32:30 +00:00

annoying warnings

This commit is contained in:
Raffi Enficiaud
2015-03-26 11:20:17 +01:00
parent 9e85362351
commit 9478ffef8c

View File

@@ -258,7 +258,7 @@ void
test_suite::add( test_unit_generator const& gen, int timeout )
{
test_unit* tu;
while(tu = gen.next())
while((tu = gen.next()) != 0)
add( tu, 0, timeout );
}
@@ -268,7 +268,7 @@ void
test_suite::add( test_unit_generator const& gen, decorator::collector& decorators )
{
test_unit* tu;
while(tu = gen.next()) {
while((tu = gen.next()) != 0) {
decorators.store_in( *tu );
add( tu, 0 );
}