]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/foreach/test/rvalue_nonconst_r.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / foreach / test / rvalue_nonconst_r.cpp
index 991f8beace1ff2988eb1e993c49ddda9c6a75353..b08009ee6ca30842428f4ad69d68db705cd6e620 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_RVALUE_DETECTION
@@ -24,7 +24,7 @@ std::vector<int> get_vector()
 ///////////////////////////////////////////////////////////////////////////////
 // test_main
 //   
-int test_main( int, char*[] )
+int main()
 {
     int counter = 0;
 
@@ -33,9 +33,9 @@ int test_main( int, char*[] )
         counter += i;
     }
 
-    BOOST_CHECK(16 == counter);
+    BOOST_TEST(16 == counter);
 
-    return 0;
+    return boost::report_errors();
 }
 
 #endif