Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61884 - trunk/tools/quickbook/detail
From: steven_at_[hidden]
Date: 2010-05-09 17:45:21


Author: steven_watanabe
Date: 2010-05-09 17:45:20 EDT (Sun, 09 May 2010)
New Revision: 61884
URL: http://svn.boost.org/trac/boost/changeset/61884

Log:
Make quickbook compile with VC 2010
Text files modified:
   trunk/tools/quickbook/detail/post_process.cpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/tools/quickbook/detail/post_process.cpp
==============================================================================
--- trunk/tools/quickbook/detail/post_process.cpp (original)
+++ trunk/tools/quickbook/detail/post_process.cpp 2010-05-09 17:45:20 EDT (Sun, 09 May 2010)
@@ -266,7 +266,7 @@
         {
             definition(tidy_grammar const& self)
             {
- tag = (lexeme_d[+(alpha_p | '_' | ':')]) [bind(&tidy_grammar::do_tag, &self, _1, _2)];
+ tag = (lexeme_d[+(alpha_p | '_' | ':')]) [boost::bind(&tidy_grammar::do_tag, &self, _1, _2)];
 
                 code =
                         "<programlisting>"
@@ -282,14 +282,14 @@
                     str_p("<!--quickbook-escape-prefix-->") >>
                     (*(anychar_p - str_p("<!--quickbook-escape-postfix-->")))
                     [
- bind(&tidy_grammar::do_escape, &self, _1, _2)
+ boost::bind(&tidy_grammar::do_escape, &self, _1, _2)
                     ]
>> lexeme_d
                         [
                             str_p("<!--quickbook-escape-postfix-->") >>
                             (*space_p)
                             [
- bind(&tidy_grammar::do_escape_post, &self, _1, _2)
+ boost::bind(&tidy_grammar::do_escape_post, &self, _1, _2)
                             ]
                         ]
                     ;
@@ -306,11 +306,11 @@
 
                 markup =
                         escape
- | code [bind(&tidy_grammar::do_code, &self, _1, _2)]
- | start_end_tag [bind(&tidy_grammar::do_start_end_tag, &self, _1, _2)]
- | start_tag [bind(&tidy_grammar::do_start_tag, &self, _1, _2)]
- | end_tag [bind(&tidy_grammar::do_end_tag, &self, _1, _2)]
- | content [bind(&tidy_grammar::do_content, &self, _1, _2)]
+ | code [boost::bind(&tidy_grammar::do_code, &self, _1, _2)]
+ | start_end_tag [boost::bind(&tidy_grammar::do_start_end_tag, &self, _1, _2)]
+ | start_tag [boost::bind(&tidy_grammar::do_start_tag, &self, _1, _2)]
+ | end_tag [boost::bind(&tidy_grammar::do_end_tag, &self, _1, _2)]
+ | content [boost::bind(&tidy_grammar::do_content, &self, _1, _2)]
                     ;
 
                 tidy = +markup;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk