Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71662 - trunk/boost/spirit/home/qi/operator
From: hartmut.kaiser_at_[hidden]
Date: 2011-05-02 07:08:55


Author: hkaiser
Date: 2011-05-02 07:08:53 EDT (Mon, 02 May 2011)
New Revision: 71662
URL: http://svn.boost.org/trac/boost/changeset/71662

Log:
Spirit: adding missing typename
Text files modified:
   trunk/boost/spirit/home/qi/operator/optional.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/qi/operator/optional.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/operator/optional.hpp (original)
+++ trunk/boost/spirit/home/qi/operator/optional.hpp 2011-05-02 07:08:53 EDT (Mon, 02 May 2011)
@@ -66,7 +66,7 @@
         {
             // create a local value if Attribute is not unused_type
             typename spirit::result_of::optional_value<Attribute>::type val =
- spirit::result_of::optional_value<Attribute>::type();
+ typename spirit::result_of::optional_value<Attribute>::type();
 
             if (subject.parse(first, last, context, skipper, val))
             {


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