Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67253 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2010-12-15 16:42:25


Author: chenry
Date: 2010-12-15 16:42:24 EST (Wed, 15 Dec 2010)
New Revision: 67253
URL: http://svn.boost.org/trac/boost/changeset/67253

Log:
applied patch bugfix for trac 4926
Text files modified:
   trunk/boost/msm/back/state_machine.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/msm/back/state_machine.hpp
==============================================================================
--- trunk/boost/msm/back/state_machine.hpp (original)
+++ trunk/boost/msm/back/state_machine.hpp 2010-12-15 16:42:24 EST (Wed, 15 Dec 2010)
@@ -1517,7 +1517,7 @@
     }
     // handling of deferred events
     // if none is found in the SM, take the following empty main version
- template <class StateType, class Enable = void>
+ template <class StateType, class Enable = int>
     struct handle_defer_helper
     {
         handle_defer_helper(deferred_msg_queue_helper<library_sm>& ){}
@@ -1532,7 +1532,7 @@
     // otherwise the standard version handling the deferred events
     template <class StateType>
     struct handle_defer_helper
- <StateType, typename enable_if< typename ::boost::msm::back::has_fsm_deferred_events<StateType>::type >::type>
+ <StateType, typename enable_if< typename ::boost::msm::back::has_fsm_deferred_events<StateType>::type,int >::type>
     {
         handle_defer_helper(deferred_msg_queue_helper<library_sm>& a_queue):
             events_queue(a_queue),next_deferred_event(){}


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