Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68463 - trunk/boost/proto/transform
From: eric_at_[hidden]
Date: 2011-01-27 02:52:08


Author: eric_niebler
Date: 2011-01-27 02:52:01 EST (Thu, 27 Jan 2011)
New Revision: 68463
URL: http://svn.boost.org/trac/boost/changeset/68463

Log:
fix const correctness problem in pass_through
Text files modified:
   trunk/boost/proto/transform/pass_through.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/proto/transform/pass_through.hpp
==============================================================================
--- trunk/boost/proto/transform/pass_through.hpp (original)
+++ trunk/boost/proto/transform/pass_through.hpp 2011-01-27 02:52:01 EST (Thu, 27 Jan 2011)
@@ -178,7 +178,7 @@
                 expr_type;
 
                 typedef typename unref_expr::proto_generator proto_generator;
- typedef typename BOOST_PROTO_RESULT_OF<proto_generator(expr_type)>::type result_type;
+ typedef typename BOOST_PROTO_RESULT_OF<proto_generator(expr_type)>::type const result_type;
 
                 result_type const operator ()(
                     typename pass_through_impl::expr_param e


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