Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62651 - trunk/libs/msm/test
From: christophe.j.henry_at_[hidden]
Date: 2010-06-09 08:31:21


Author: chenry
Date: 2010-06-09 08:31:20 EDT (Wed, 09 Jun 2010)
New Revision: 62651
URL: http://svn.boost.org/trac/boost/changeset/62651

Log:
fixed unit test compile error
Text files modified:
   trunk/libs/msm/test/SimpleInternalEuml.cpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/libs/msm/test/SimpleInternalEuml.cpp
==============================================================================
--- trunk/libs/msm/test/SimpleInternalEuml.cpp (original)
+++ trunk/libs/msm/test/SimpleInternalEuml.cpp 2010-06-09 08:31:20 EDT (Wed, 09 Jun 2010)
@@ -50,6 +50,9 @@
     BOOST_MSM_EUML_STATE(( ++state_(entry_counter),++state_(exit_counter),attributes_ << entry_counter << exit_counter),Playing)
     BOOST_MSM_EUML_STATE(( ++state_(entry_counter),++state_(exit_counter),attributes_ << entry_counter << exit_counter),Paused)
 
+ BOOST_MSM_EUML_DECLARE_ATTRIBUTE(unsigned int,empty_internal_guard_counter)
+ BOOST_MSM_EUML_DECLARE_ATTRIBUTE(unsigned int,empty_internal_action_counter)
+
     BOOST_MSM_EUML_ACTION(internal_guard_fct)
     {
         template <class FSM,class EVT,class SourceState,class TargetState>
@@ -59,8 +62,6 @@
             return false;
         }
     };
- BOOST_MSM_EUML_DECLARE_ATTRIBUTE(unsigned int,empty_internal_guard_counter)
- BOOST_MSM_EUML_DECLARE_ATTRIBUTE(unsigned int,empty_internal_action_counter)
     BOOST_MSM_EUML_DECLARE_STATE((++state_(entry_counter),++state_(exit_counter),
                                   attributes_ << entry_counter << exit_counter
                                               << empty_internal_guard_counter << empty_internal_action_counter),Empty_def)


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