|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81917 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2012-12-13 17:02:42
Author: hkaiser
Date: 2012-12-13 17:02:42 EST (Thu, 13 Dec 2012)
New Revision: 81917
URL: http://svn.boost.org/trac/boost/changeset/81917
Log:
Spirit: applying final patch for variant/sequence issue in Karma
Text files modified:
trunk/boost/spirit/home/support/attributes.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp (original)
+++ trunk/boost/spirit/home/support/attributes.hpp 2012-12-13 17:02:42 EST (Thu, 13 Dec 2012)
@@ -529,7 +529,7 @@
{}
template <typename T>
- typename void operator()(T const& val)
+ void operator()(T const& val)
{
size_ = spirit::traits::size(val);
}
@@ -543,7 +543,7 @@
{
typedef std::size_t type;
- static std::size_t call(variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& val)
+ static type call(variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& val)
{
std::size_t size = 0;
apply_visitor(detail::attribute_size_visitor(size), 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