Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73585 - trunk/boost/spirit/home/support
From: joel_at_[hidden]
Date: 2011-08-06 20:20:35


Author: djowel
Date: 2011-08-06 20:20:35 EDT (Sat, 06 Aug 2011)
New Revision: 73585
URL: http://svn.boost.org/trac/boost/changeset/73585

Log:
follow variant API for visitation
Text files modified:
   trunk/boost/spirit/home/support/extended_variant.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/extended_variant.hpp
==============================================================================
--- trunk/boost/spirit/home/support/extended_variant.hpp (original)
+++ trunk/boost/spirit/home/support/extended_variant.hpp 2011-08-06 20:20:35 EDT (Sat, 06 Aug 2011)
@@ -44,7 +44,7 @@
             : var(var) {}
 
         template <typename F>
- typename F::result_type apply_visitor(F v) const
+ typename F::result_type apply_visitor(F const& v)
         {
             return var.apply_visitor(v);
         }


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