Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51626 - sandbox/msm/boost/msm
From: christophe.j.henry_at_[hidden]
Date: 2009-03-05 14:01:53


Author: chenry
Date: 2009-03-05 14:01:52 EST (Thu, 05 Mar 2009)
New Revision: 51626
URL: http://svn.boost.org/trac/boost/changeset/51626

Log:
fixed wrong includes
Text files modified:
   sandbox/msm/boost/msm/args.hpp | 6 ++++++
   sandbox/msm/boost/msm/common_types.hpp | 5 +++++
   sandbox/msm/boost/msm/state_machine.hpp | 6 +-----
   3 files changed, 12 insertions(+), 5 deletions(-)

Modified: sandbox/msm/boost/msm/args.hpp
==============================================================================
--- sandbox/msm/boost/msm/args.hpp (original)
+++ sandbox/msm/boost/msm/args.hpp 2009-03-05 14:01:52 EST (Thu, 05 Mar 2009)
@@ -20,6 +20,11 @@
 #include <boost/preprocessor/cat.hpp>
 #include <boost/preprocessor/comparison/less.hpp>
 #include <boost/preprocessor/arithmetic/dec.hpp>
+#include <boost/function.hpp>
+
+#ifndef BOOST_MSM_VISITOR_ARG_SIZE
+#define BOOST_MSM_VISITOR_ARG_SIZE 2 // default max number of arguments
+#endif
 
 namespace boost { namespace msm
 {
@@ -57,3 +62,4 @@
 }}
 
 #endif //BOOST_MSM_ARGS_H
+

Modified: sandbox/msm/boost/msm/common_types.hpp
==============================================================================
--- sandbox/msm/boost/msm/common_types.hpp (original)
+++ sandbox/msm/boost/msm/common_types.hpp 2009-03-05 14:01:52 EST (Thu, 05 Mar 2009)
@@ -11,6 +11,10 @@
 #ifndef BOOST_MSM_COMMON_TYPES_H
 #define BOOST_MSM_COMMON_TYPES_H
 
+#include <vector>
+#include <boost/tuple/tuple.hpp>
+#include <boost/function.hpp>
+
 namespace boost { namespace msm
 {
 // used for disable_if
@@ -31,3 +35,4 @@
 }}
 
 #endif //BOOST_MSM_COMMON_TYPES_H
+

Modified: sandbox/msm/boost/msm/state_machine.hpp
==============================================================================
--- sandbox/msm/boost/msm/state_machine.hpp (original)
+++ sandbox/msm/boost/msm/state_machine.hpp 2009-03-05 14:01:52 EST (Thu, 05 Mar 2009)
@@ -11,10 +11,6 @@
 #ifndef BOOST_MSM_STATEMACHINE_H
 #define BOOST_MSM_STATEMACHINE_H
 
-#ifndef BOOST_MSM_VISITOR_ARG_SIZE
-#define BOOST_MSM_VISITOR_ARG_SIZE 2 // default max number of arguments
-#endif
-
 #include <vector>
 #include <queue>
 #include <functional>
@@ -37,7 +33,6 @@
 #include <boost/type_traits.hpp>
 #include <boost/utility/enable_if.hpp>
 #include <boost/smart_ptr.hpp>
-#include <boost/tuple/tuple.hpp>
 
 #include <boost/bind.hpp>
 #include <boost/bind/apply.hpp>
@@ -1409,3 +1404,4 @@
 
 } } // boost::msm
 #endif //BOOST_MSM_STATEMACHINE_H
+


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