Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68403 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2011-01-23 18:04:53


Author: chenry
Date: 2011-01-23 18:04:52 EST (Sun, 23 Jan 2011)
New Revision: 68403
URL: http://svn.boost.org/trac/boost/changeset/68403

Log:
fix (exploding compile-time)
Text files modified:
   trunk/boost/msm/back/any_event.hpp | 7 +++----
   1 files changed, 3 insertions(+), 4 deletions(-)

Modified: trunk/boost/msm/back/any_event.hpp
==============================================================================
--- trunk/boost/msm/back/any_event.hpp (original)
+++ trunk/boost/msm/back/any_event.hpp 2011-01-23 18:04:52 EST (Sun, 23 Jan 2011)
@@ -25,14 +25,13 @@
 class holder : public placeholder
 {
 public:
- holder(EventType const& evt, FsmType& fsm): event_(evt),fsm_(fsm){}
+ holder(EventType const& evt, FsmType& fsm){}
     virtual ::boost::msm::back::HandledEnum process_event() const
     {
- return fsm_.process_event(event_);
+ //default. Will not be called
+ return HANDLED_TRUE;
     }
 private:
- EventType const& event_;
- FsmType& fsm_;
 };
 
 class any_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