]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/serialization/test/test_enable_shared_from_this.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / serialization / test / test_enable_shared_from_this.cpp
index 9003aee1733c5c5579d7a2f2c3bb7e6e88f5b834..608837e2230ec512aca4baf7e24dfef547bd7756 100644 (file)
@@ -1,7 +1,7 @@
 /////////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)
@@ -140,7 +140,7 @@ void test_passes(){
 
                // verify shared_from_this
                BOOST_CHECK(d == raw_d->SharedPtr());
-       }       
+       }
 }
 
 // This test fails
@@ -180,10 +180,10 @@ void 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 */[]){