|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59351 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-29 18:46:02
Author: hkaiser
Date: 2010-01-29 18:46:01 EST (Fri, 29 Jan 2010)
New Revision: 59351
URL: http://svn.boost.org/trac/boost/changeset/59351
Log:
Spirit: fixing specialization for transform_attribute<optional<>, ...>
Text files modified:
trunk/boost/spirit/home/support/attributes.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp (original)
+++ trunk/boost/spirit/home/support/attributes.hpp 2010-01-29 18:46:01 EST (Fri, 29 Jan 2010)
@@ -458,7 +458,7 @@
return boost::get<Transformed>(val);
}
static void post(optional<Exposed>&, Transformed const&) {}
- static void fail(Exposed& val)
+ static void fail(optional<Exposed>& val)
{
val = none_t(); // leave optional uninitialized if rhs failed
}
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