]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/foreach/test/rvalue_const.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / foreach / test / rvalue_const.cpp
index eaa06281d188070e5a217c090da7d13247c3fd8a..365967fd8664ce33dddd4678a679c509c54c6f6a 100644 (file)
@@ -9,7 +9,7 @@
 */
 
 #include <vector>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 #include <boost/foreach.hpp>
 
 #ifdef BOOST_FOREACH_NO_CONST_RVALUE_DETECTION
@@ -27,7 +27,7 @@ std::vector<int> const get_vector()
 ///////////////////////////////////////////////////////////////////////////////
 // test_main
 //   
-int test_main( int, char*[] )
+int main()
 {
     int counter = 0;
 
@@ -36,9 +36,9 @@ int test_main( int, char*[] )
         counter += i;
     }
 
-    BOOST_CHECK(16 == counter);
+    BOOST_TEST(16 == counter);
 
-    return 0;
+    return boost::report_errors();
 }
 
 #endif