]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/serialization/test/test_slist_ptrs.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / serialization / test / test_slist_ptrs.cpp
index 3325510af9817437b1e3aa01f360bbe063ffe931..e4d830be6d6addfc5bf192e9f29728d474a3dab7 100644 (file)
@@ -1,7 +1,7 @@
 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
 // test_list.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)
@@ -14,7 +14,7 @@
 #include <boost/config.hpp>
 #include <cstdio> // remove
 #if defined(BOOST_NO_STDC_NAMESPACE)
-namespace std{ 
+namespace std{
     using ::remove;
 }
 #endif
@@ -50,7 +50,7 @@ void test_slist(){
     BOOST_REQUIRE(NULL != testfile);
 
     BOOST_STD_EXTENSION_NAMESPACE::slist<A *> aslist;
-    {   
+    {
         test_ostream os(testfile, TEST_STREAM_FLAGS);
         test_oarchive oa(os, TEST_ARCHIVE_FLAGS);
         aslist.push_front(new A);
@@ -67,15 +67,15 @@ void test_slist(){
         );
     }
     std::for_each(
-        aslist.begin(), 
-        aslist.end(), 
+        aslist.begin(),
+        aslist.end(),
         boost::checked_deleter<A>()
     );
     std::for_each(
-        aslist1.begin(), 
-        aslist1.end(), 
+        aslist1.begin(),
+        aslist1.end(),
         boost::checked_deleter<A>()
-    );  
+    );
     std::remove(testfile);
 }