]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/python/exception_translator.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / python / exception_translator.hpp
index 75ed0e1eec9dff5cd976a900d2de7afd39acb617..1aa1465bdf88aa0eed79dd6ee986af5abd8dc0be 100644 (file)
@@ -7,7 +7,7 @@
 
 # include <boost/python/detail/prefix.hpp>
 
-# include <boost/bind.hpp>
+# include <boost/bind/bind.hpp>
 # include <boost/bind/placeholders.hpp>
 # include <boost/type.hpp>
 # include <boost/python/detail/translate_exception.hpp>
@@ -18,6 +18,7 @@ namespace boost { namespace python {
 template <class ExceptionType, class Translate>
 void register_exception_translator(Translate translate, boost::type<ExceptionType>* = 0)
 {
+    using namespace boost::placeholders;
     detail::register_exception_handler(
         boost::bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
         );