Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55239 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-30 14:44:17


Author: hkaiser
Date: 2009-07-28 14:59:57 EDT (Tue, 28 Jul 2009)
New Revision: 55239
URL: http://svn.boost.org/trac/boost/changeset/55239

Log:
Spirit: fixed return type for traits::deref(Iterator)
Text files modified:
   trunk/boost/spirit/home/support/container.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/container.hpp
==============================================================================
--- trunk/boost/spirit/home/support/container.hpp (original)
+++ trunk/boost/spirit/home/support/container.hpp 2009-07-28 14:59:57 EDT (Tue, 28 Jul 2009)
@@ -291,7 +291,7 @@
 
     ///////////////////////////////////////////////////////////////////////////
     template <typename Iterator>
- inline typename boost::detail::iterator_traits<Iterator>::value_type
+ inline typename boost::detail::iterator_traits<Iterator>::reference
     deref(Iterator& it)
     {
         return *it;


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