Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56744 - branches/release/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-12 12:40:04


Author: hkaiser
Date: 2009-10-12 12:40:04 EDT (Mon, 12 Oct 2009)
New Revision: 56744
URL: http://svn.boost.org/trac/boost/changeset/56744

Log:
Spirit: merging bug fix related to handling of optionals from trunk
Text files modified:
   branches/release/boost/spirit/home/support/attributes.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/boost/spirit/home/support/attributes.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/attributes.hpp (original)
+++ branches/release/boost/spirit/home/support/attributes.hpp 2009-10-12 12:40:04 EDT (Mon, 12 Oct 2009)
@@ -645,7 +645,7 @@
         static void call(optional<T>& val)
         {
             if (val)
- clear(*val);
+ val = none_t(); // leave optional uninitialized
         }
     };
 


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