Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66615 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2010-11-16 13:40:17


Author: chenry
Date: 2010-11-16 13:40:15 EST (Tue, 16 Nov 2010)
New Revision: 66615
URL: http://svn.boost.org/trac/boost/changeset/66615

Log:
fixed compile errors
Text files modified:
   trunk/boost/msm/back/metafunctions.hpp | 2 +-
   trunk/boost/msm/back/state_machine.hpp | 6 +++---
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/msm/back/metafunctions.hpp
==============================================================================
--- trunk/boost/msm/back/metafunctions.hpp (original)
+++ trunk/boost/msm/back/metafunctions.hpp 2010-11-16 13:40:15 EST (Tue, 16 Nov 2010)
@@ -707,7 +707,7 @@
 struct build_orthogonal_regions
     <TransitionTable,InitStates,
      typename ::boost::enable_if<
- ::boost::mpl::is_sequence<typename InitStates> >::type >
+ ::boost::mpl::is_sequence< InitStates> >::type >
 {
     typedef typename
         ::boost::mpl::fold<

Modified: trunk/boost/msm/back/state_machine.hpp
==============================================================================
--- trunk/boost/msm/back/state_machine.hpp (original)
+++ trunk/boost/msm/back/state_machine.hpp 2010-11-16 13:40:15 EST (Tue, 16 Nov 2010)
@@ -2105,14 +2105,14 @@
      template <class StateType>
      struct find_region_id
      {
- template <int region>
+ template <int region,int Dummy=0>
          struct In
          {
              enum {region_index=region};
          };
          // if the user provides no region, find it!
- template<>
- struct In<-1>
+ template<int Dummy>
+ struct In<-1,Dummy>
          {
              typedef typename build_orthogonal_regions<
                  stt,


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