/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_enable_shared_from_this.cpp
-// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
+// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// verify shared_from_this
BOOST_CHECK(d == raw_d->SharedPtr());
- }
+ }
}
// This test fails
BOOST_CHECK(raw_d->m_derived==2);
// verify shared_from_this
- // FAIL: The following line throws bad_weak_ptr exception
+ // FAIL: The following line throws bad_weak_ptr exception
boost::shared_ptr<Derived> d = raw_d->SharedPtr();
BOOST_CHECK(d == b);
- }
+ }
}
int test_main(int /*argc*/, char * /*argv */[]){