|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73584 - trunk/boost/spirit/home/support
From: joel_at_[hidden]
Date: 2011-08-06 20:07:33
Author: djowel
Date: 2011-08-06 20:07:33 EDT (Sat, 06 Aug 2011)
New Revision: 73584
URL: http://svn.boost.org/trac/boost/changeset/73584
Log:
fix: apply_visitor must return a value
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:07:33 EDT (Sat, 06 Aug 2011)
@@ -46,7 +46,7 @@
template <typename F>
typename F::result_type apply_visitor(F v) const
{
- var.apply_visitor(v);
+ return var.apply_visitor(v);
}
variant_type const& get() const
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