]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/lambda/test/control_structures.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / lambda / test / control_structures.cpp
index 12eabf8d341cf985c525b798c65a565a59c50e2c..e2bb870437d9dee9d495fe1c17b56020f7cc1d63 100644 (file)
@@ -11,7 +11,8 @@
 
 // -----------------------------------------------------------------------
 
-#include <boost/test/minimal.hpp>    // see "Header Implementation Option"
+#include <boost/core/lightweight_test.hpp>
+#define BOOST_CHECK BOOST_TEST
 
 #include "boost/lambda/lambda.hpp"
 #include "boost/lambda/if.hpp"
@@ -115,9 +116,9 @@ void simple_ifs () {
 }
 
 
-int test_main(int, char *[]) 
+int main()
 {
   simple_loops();
   simple_ifs();
-  return 0;
+  return boost::report_errors();
 }