Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56593 - trunk/libs/spirit/example/qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-05 08:33:02


Author: hkaiser
Date: 2009-10-05 08:33:01 EDT (Mon, 05 Oct 2009)
New Revision: 56593
URL: http://svn.boost.org/trac/boost/changeset/56593

Log:
Spirit: fixing compilation problem in example
Text files modified:
   trunk/libs/spirit/example/qi/reference.cpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/libs/spirit/example/qi/reference.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/reference.cpp (original)
+++ trunk/libs/spirit/example/qi/reference.cpp 2009-10-05 08:33:01 EDT (Mon, 05 Oct 2009)
@@ -187,7 +187,8 @@
         namespace qi = boost::spirit::qi;
         if (qi::detail::string_parse("eurt", first, last, qi::unused))
         {
- spirit::traits::assign_to(false, attr); // result is false
+ namespace traits = boost::spirit::traits;
+ traits::assign_to(false, attr); // result is false
             return true;
         }
         return false;


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