Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72834 - trunk/boost/msm/front
From: christophe.j.henry_at_[hidden]
Date: 2011-07-01 12:57:42


Author: chenry
Date: 2011-07-01 12:57:42 EDT (Fri, 01 Jul 2011)
New Revision: 72834
URL: http://svn.boost.org/trac/boost/changeset/72834

Log:
fixed bug (none not convertible from other events)
Text files modified:
   trunk/boost/msm/front/completion_event.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/msm/front/completion_event.hpp
==============================================================================
--- trunk/boost/msm/front/completion_event.hpp (original)
+++ trunk/boost/msm/front/completion_event.hpp 2011-07-01 12:57:42 EDT (Fri, 01 Jul 2011)
@@ -16,6 +16,12 @@
 
     struct none
     {
+ // make every event convertible to none.
+ // to support standard-conform implementation of pseudo exits.
+ none(){}
+ template <class Event>
+ none(Event const&){}
+
         typedef int completion_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