Fix mistake in weak_from_this_test

This commit is contained in:
Peter Dimov
2019-04-24 04:57:37 +03:00
parent 8df63a3d0e
commit f56e609757

View File

@ -39,7 +39,7 @@ void test()
*p = V();
boost::weak_ptr<V> q4 = p->shared_from_this();
boost::weak_ptr<V> q4 = p->weak_from_this();
BOOST_TEST( !q4.expired() );
BOOST_TEST( !(q < q4) && !(q4 < q) );
BOOST_TEST( !(q2 < q4) && !(q4 < q2) );