]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/foreach/test/user_defined.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / foreach / test / user_defined.cpp
index a05bf3a6a8c2f43f74f1648b2bfc706feb95c146..d75ac0351642ec862f9f5782acdc97ee927b04e5 100644 (file)
@@ -8,7 +8,7 @@ Revision history:
 25 August 2005 : Initial version.
 */
 
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 ///////////////////////////////////////////////////////////////////////////////
 // define a user-defined collection type and teach BOOST_FOREACH how to enumerate it
@@ -41,7 +41,7 @@ namespace boost
 ///////////////////////////////////////////////////////////////////////////////
 // test_main
 //   
-int test_main( int, char*[] )
+int main()
 {
     // loop over a user-defined type (just make sure this compiles)
     mine::dummy d;
@@ -50,5 +50,5 @@ int test_main( int, char*[] )
         ((void)c); // no-op
     }
 
-    return 0;
+    return boost::report_errors();
 }