Fixed bogus test failure caused by new enable_shared_from_this features.

[SVN r43782]
This commit is contained in:
Frank Mori Hess
2008-03-21 21:12:21 +00:00
parent b30aa1468a
commit f22516d650

View File

@ -133,7 +133,8 @@ void test3()
try
{
boost::shared_ptr<V> r = v2.shared_from_this();
BOOST_ERROR("v2.shared_from_this() failed to throw");
BOOST_TEST( p < r || r < p );
BOOST_TEST( r.get() == &v2 );
}
catch(boost::bad_weak_ptr const &)
{