]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/lambda/test/bind_tests_simple_f_refs.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / lambda / test / bind_tests_simple_f_refs.cpp
index df601d79ef113792732b51231a09fd8a43f690e3..69bb280ab55835e0de1a572a8a559701dadbc291 100644 (file)
@@ -12,7 +12,8 @@
 // -----------------------------------------------------------------------
 
 
-#include <boost/test/minimal.hpp>    // see "Header Implementation Option"
+#include <boost/core/lightweight_test.hpp>
+#define BOOST_CHECK BOOST_TEST
 
 #include "boost/lambda/bind.hpp"
 
@@ -57,7 +58,7 @@ void test_member_functions()
   // bind(&A::add, a, _1); 
 }
 
-int test_main(int, char *[]) {
+int main() {
 
   int i = 1; int j = 2; int k = 3;
   int result;
@@ -144,5 +145,5 @@ int test_main(int, char *[]) {
   test_member_functions();
 
 
-  return 0;
+  return boost::report_errors();
 }