Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72232 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2011-05-27 17:46:54


Author: chenry
Date: 2011-05-27 17:46:53 EDT (Fri, 27 May 2011)
New Revision: 72232
URL: http://svn.boost.org/trac/boost/changeset/72232

Log:
fixed trac 5573
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-27 17:46:53 EDT (Fri, 27 May 2011)
@@ -1474,8 +1474,8 @@
                         (init_states(m_states));
          m_history.set_initial_states(m_states);
          // create states
- fill_states(this);
          set_states(expr);
+ fill_states(this);
      }
      // Construct with the default initial states and some default argument(s)
 #define MSM_CONSTRUCTOR_HELPER_EXECUTE_SUB(z, n, unused) ARG ## n t ## n
@@ -1518,8 +1518,8 @@
          ::boost::mpl::for_each< seq_initial_states, ::boost::msm::wrap<mpl::placeholders::_1> > \
                         (init_states(m_states)); \
          m_history.set_initial_states(m_states); \
- fill_states(this); \
          set_states(expr); \
+ fill_states(this); \
      }
 
      BOOST_PP_REPEAT_FROM_TO(1,BOOST_PP_ADD(BOOST_MSM_CONSTRUCTOR_ARG_SIZE,1), MSM_CONSTRUCTOR_HELPER_EXECUTE, ~)


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