Fixed warnings in tests

This commit is contained in:
Antony Polukhin
2015-12-14 19:14:28 +03:00
parent 58e8e78899
commit b6e9403ef0
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ static void test_polymorphic_pointer_cast()
if( sp_base2 != 0 )
{
BOOST_TEST_EQ( base2->kind2(), "Base2" );
BOOST_TEST_EQ( sp_base2->kind2(), "Base2" );
}
}
catch( std::bad_cast const& )