Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63421 - in branches/release/boost/msm: . back
From: christophe.j.henry_at_[hidden]
Date: 2010-06-29 02:00:36


Author: chenry
Date: 2010-06-29 02:00:35 EDT (Tue, 29 Jun 2010)
New Revision: 63421
URL: http://svn.boost.org/trac/boost/changeset/63421

Log:
merged revision 63304
Properties modified:
   branches/release/boost/msm/ (props changed)
Text files modified:
   branches/release/boost/msm/back/favor_compile_time.hpp | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: branches/release/boost/msm/back/favor_compile_time.hpp
==============================================================================
--- branches/release/boost/msm/back/favor_compile_time.hpp (original)
+++ branches/release/boost/msm/back/favor_compile_time.hpp 2010-06-29 02:00:35 EDT (Tue, 29 Jun 2010)
@@ -91,8 +91,11 @@
             while (it != one_state.end() && res != HANDLED_TRUE)
             {
                 HandledEnum handled = (*it)(fsm,region,state,evt);
- res = ((HANDLED_GUARD_REJECT==handled) || (HANDLED_GUARD_REJECT==res))?
- HANDLED_GUARD_REJECT:handled;
+ // reject is considered as erasing an error (HANDLED_FALSE)
+ if ((HANDLED_FALSE==handled) && (HANDLED_GUARD_REJECT==res) )
+ res = HANDLED_GUARD_REJECT;
+ else
+ res = handled;
                 ++it;
             }
             return res;


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