|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73088 - trunk/boost/spirit/repository/home/qi/operator/detail
From: joel_at_[hidden]
Date: 2011-07-13 19:45:17
Author: djowel
Date: 2011-07-13 19:45:16 EDT (Wed, 13 Jul 2011)
New Revision: 73088
URL: http://svn.boost.org/trac/boost/changeset/73088
Log:
patch from Tongari to compile with vc++ 2008.
Text files modified:
trunk/boost/spirit/repository/home/qi/operator/detail/keywords.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/repository/home/qi/operator/detail/keywords.hpp
==============================================================================
--- trunk/boost/spirit/repository/home/qi/operator/detail/keywords.hpp (original)
+++ trunk/boost/spirit/repository/home/qi/operator/detail/keywords.hpp 2011-07-13 19:45:16 EDT (Wed, 13 Jul 2011)
@@ -42,10 +42,12 @@
class parse_dispatcher
: public boost::static_visitor<bool>
{
+ typedef typename add_reference<Attribute>::type attr_reference;
+
public:
parse_dispatcher(const Elements &elements,Iterator& first, Iterator const& last
, Context& context, Skipper const& skipper
- , Flags &flags, Counters &counters, Attribute& attr) :
+ , Flags &flags, Counters &counters, attr_reference attr) :
elements(elements), first(first), last(last)
, context(context), skipper(skipper)
, flags(flags),counters(counters), attr(attr)
@@ -107,7 +109,7 @@
const Skipper &skipper;
Flags &flags;
Counters &counters;
- Attribute &attr;
+ attr_reference attr;
};
}}}}}
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