]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/example/lex/word_count_functor.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / spirit / example / lex / word_count_functor.cpp
index f1969aac3355849435a8a34c17057294868abdcb..184233a65ae7a87ccd364d321f103fa1609fa3a7 100644 (file)
@@ -52,7 +52,7 @@
 #include <boost/config/warning_disable.hpp>
 //[wcf_includes
 #include <boost/spirit/include/lex_lexertl.hpp>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
 #include <boost/ref.hpp>
 //]
 
@@ -162,6 +162,7 @@ int main(int argc, char* argv[])
 
     // tokenize the given string, the bound functor gets invoked for each of 
     // the matched tokens
+    using boost::placeholders::_1;
     char const* first = str.c_str();
     char const* last = &first[str.size()];
     bool r = lex::tokenize(first, last, word_count_functor,