]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/serialization/test/test_complex.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / serialization / test / test_complex.cpp
index 6776f7b2c9e278ac898ffa354ae5957f0cf993bc..7caca87173a82cc38b1ed632e851adab322d67a3 100644 (file)
@@ -1,7 +1,7 @@
 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
 // test_complex.cpp
 
-// (C) Copyright 2005 Matthias Troyer . 
+// (C) Copyright 2005 Matthias Troyer .
 // 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)
@@ -20,7 +20,7 @@
 #if defined(BOOST_NO_STDC_NAMESPACE)
 #include <boost/limits.hpp>
 namespace std{
-    using ::rand; 
+    using ::rand;
     using ::remove;
     #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) && !defined(UNDER_CE)
         using ::numeric_limits;
@@ -45,13 +45,13 @@ int test_main( int /* argc */, char* /* argv */[] )
     // test array of objects
     std::complex<float> a(
         static_cast<float>(std::rand()) / static_cast<float>(std::rand()),
-        static_cast<float>(std::rand()) / static_cast<float>(std::rand()) 
+        static_cast<float>(std::rand()) / static_cast<float>(std::rand())
     );
     std::complex<double> b(
         static_cast<double>(std::rand()) / static_cast<double>(std::rand()),
         static_cast<double>(std::rand()) / static_cast<double>(std::rand())
     );
-    {   
+    {
         test_ostream os(testfile, TEST_STREAM_FLAGS);
         test_oarchive oa(os);
         oa << boost::serialization::make_nvp("afloatcomplex", a);