]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/serialization/test/test_forward_list_ptrs.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / serialization / test / test_forward_list_ptrs.cpp
index 7071352b537494972488ba15f23fa263d11fe8bd..a5bfab084d9c265d6708dbf5b60b4c1426ab3fe3 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_forward_list(){
     BOOST_REQUIRE(NULL != testfile);
 
     std::forward_list<A *> aslist;
-    {   
+    {
         test_ostream os(testfile, TEST_STREAM_FLAGS);
         test_oarchive oa(os, TEST_ARCHIVE_FLAGS);
         aslist.push_front(new A);
@@ -72,13 +72,13 @@ void test_forward_list(){
         );
     }
     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);
@@ -87,7 +87,7 @@ void test_forward_list(){
 int test_main( int /* argc */, char* /* argv */[] )
 {
     test_forward_list();
-    
+
     return EXIT_SUCCESS;
 }