Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72167 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2011-05-25 17:23:20


Author: chenry
Date: 2011-05-25 17:23:20 EDT (Wed, 25 May 2011)
New Revision: 72167
URL: http://svn.boost.org/trac/boost/changeset/72167

Log:
fixed problem with g++ 4.0.2
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 2011-05-25 17:23:20 EDT (Wed, 25 May 2011)
@@ -2441,13 +2441,13 @@
     template <class EventType>
     static
     typename boost::enable_if<typename has_direct_entry<EventType>::type,typename EventType::contained_event const& >::type
- remove_direct_entry_event_wrapper(EventType const& evt)
+ remove_direct_entry_event_wrapper(EventType const& evt,boost::msm::back::dummy<0> = 0)
     {
         return evt.m_event;
     }
     template <class EventType>
     static typename boost::disable_if<typename has_direct_entry<EventType>::type,EventType const& >::type
- remove_direct_entry_event_wrapper(EventType const& evt)
+ remove_direct_entry_event_wrapper(EventType const& evt,boost::msm::back::dummy<1> = 0)
     {
         // identity. No wrapper
         return evt;


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