Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55373 - trunk/boost/spirit/home/karma/operator
From: hartmut.kaiser_at_[hidden]
Date: 2009-08-02 17:57:35


Author: hkaiser
Date: 2009-08-02 17:57:34 EDT (Sun, 02 Aug 2009)
New Revision: 55373
URL: http://svn.boost.org/trac/boost/changeset/55373

Log:
Spirit: fixed return value of the karma optional generator
Text files modified:
   trunk/boost/spirit/home/karma/operator/optional.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/karma/operator/optional.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/optional.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/optional.hpp 2009-08-02 17:57:34 EDT (Sun, 02 Aug 2009)
@@ -106,7 +106,7 @@
         {
             if (detail::optional_is_valid(attr))
                 subject.generate(sink, ctx, d, detail::optional_get(attr));
- return true;
+ return detail::sink_is_good(sink);
         }
 
         template <typename Context>


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