Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69957 - branches/msm/v2_30/boost/msm/lpp
From: christophe.j.henry_at_[hidden]
Date: 2011-03-13 11:57:06


Author: chenry
Date: 2011-03-13 11:57:05 EDT (Sun, 13 Mar 2011)
New Revision: 69957
URL: http://svn.boost.org/trac/boost/changeset/69957

Log:
bugfix
Text files modified:
   branches/msm/v2_30/boost/msm/lpp/common_types.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/msm/v2_30/boost/msm/lpp/common_types.hpp
==============================================================================
--- branches/msm/v2_30/boost/msm/lpp/common_types.hpp (original)
+++ branches/msm/v2_30/boost/msm/lpp/common_types.hpp 2011-03-13 11:57:05 EDT (Sun, 13 Mar 2011)
@@ -274,10 +274,10 @@
     template<typename B BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM_PARAMS(n, class ARG)> \
     typename ::boost::disable_if< \
         typename ::boost::is_reference_wrapper< typename lambda_parameter_result<B,data>::contained_type >::type, \
- typename boost::result_of<lambda_parameter<0>(B& BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, BOOST_MSM_LPP_CAPTURE_HELPER4, ~ ) )>::type \
+ typename boost::result_of<lambda_parameter<data>(B& BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, BOOST_MSM_LPP_CAPTURE_HELPER4, ~ ) )>::type \
>::type \
     operator ()(B& block BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, BOOST_MSM_LPP_CAPTURE_HELPER, ~ ) ) const \
- { return boost::fusion::at_c<0>(block.lambda_params); }
+ { return boost::fusion::at_c<data>(block.lambda_params); }
 
 
 #define BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(index) \


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