Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72879 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2011-07-03 13:31:45


Author: chenry
Date: 2011-07-03 13:31:45 EDT (Sun, 03 Jul 2011)
New Revision: 72879
URL: http://svn.boost.org/trac/boost/changeset/72879

Log:
fixed possible name conflict
Text files modified:
   trunk/boost/msm/back/args.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/msm/back/args.hpp
==============================================================================
--- trunk/boost/msm/back/args.hpp (original)
+++ trunk/boost/msm/back/args.hpp 2011-07-03 13:31:45 EDT (Sun, 03 Jul 2011)
@@ -28,10 +28,10 @@
 
 namespace boost { namespace msm { namespace back
 {
-struct none {};
+struct no_args {};
 #define MSM_ARGS_TYPEDEF_SUB(z, n, unused) typedef ARG ## n argument ## n ;
 #define MSM_ARGS_PRINT(z, n, data) data
-#define MSM_ARGS_NONE_PRINT(z, n, data) class data ## n = none \
+#define MSM_ARGS_NONE_PRINT(z, n, data) class data ## n = no_args \
     BOOST_PP_COMMA_IF( BOOST_PP_LESS(n, BOOST_PP_DEC(BOOST_MSM_VISITOR_ARG_SIZE) ) )
 
 #define MSM_VISITOR_MAIN_ARGS(n) \
@@ -49,7 +49,7 @@
     struct args<RES, \
                 BOOST_PP_ENUM_PARAMS(n,ARG) \
                 BOOST_PP_COMMA_IF(n) \
- BOOST_PP_ENUM(BOOST_PP_SUB(BOOST_MSM_VISITOR_ARG_SIZE,n), MSM_ARGS_PRINT, none) \
+ BOOST_PP_ENUM(BOOST_PP_SUB(BOOST_MSM_VISITOR_ARG_SIZE,n), MSM_ARGS_PRINT, no_args) \
> \
     { \
         typedef ::boost::function<RES(BOOST_PP_ENUM_PARAMS(n, ARG))> type; \


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