]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/test/example/unit_test_example_12.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / test / example / unit_test_example_12.cpp
index 31d8672dd59bbfbecbb1d007b7b371ea5c1d119f..62767011f8aac34bce8eb263ae607d73408eab40 100644 (file)
@@ -7,6 +7,7 @@
 
 // Boost.Test
 #include <boost/test/unit_test.hpp>
+#include <boost/test/utils/algorithm.hpp>
 #include <boost/test/tools/floating_point_comparison.hpp>
 #include <boost/test/parameterized_test.hpp>
 using namespace boost::unit_test;
@@ -65,7 +66,7 @@ public:
             throw std::runtime_error( "Wrong argument size" );
 
         std::string::const_iterator it = std::find_if( arg.begin(), arg.end(),
-                                                       std::bind1st( boost::mem_fun( &hash_function::helper_ ), this ) );
+            BOOST_TEST_BIND1ST( boost::mem_fun( &hash_function::helper_ ), this ) );
 
         if( it != arg.end() )
             throw std::out_of_range( std::string( "Invalid character " ) + *it );