]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/range/test/algorithm_test/replace_copy_if.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / range / test / algorithm_test / replace_copy_if.cpp
index 68735477c62a3a2fc53acbe8a29cc3d5c1addda3..af3425677daf494a02eb6e391b46831e08f3107c 100644 (file)
@@ -14,7 +14,7 @@
 #include <boost/test/unit_test.hpp>
 
 #include <boost/assign.hpp>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
 #include <algorithm>
 #include <functional>
 #include <list>
@@ -66,6 +66,8 @@ namespace
     template< class Container >
     void test_replace_copy_if_( const Container& c, int to_replace )
     {
+        using namespace boost::placeholders;
+
         test_replace_copy_if_impl(c, boost::bind(std::equal_to<int>(), _1, to_replace));
         test_replace_copy_if_impl(c, boost::bind(std::not_equal_to<int>(), _1, to_replace));
     }