Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53502 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2009-05-31 11:33:47


Author: fmhess
Date: 2009-05-31 11:33:47 EDT (Sun, 31 May 2009)
New Revision: 53502
URL: http://svn.boost.org/trac/boost/changeset/53502

Log:
Fixed compile errors with BOOST_NO_VARIADIC_TEMPLATES.

Text files modified:
   trunk/boost/signals2/detail/signal_template.hpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/boost/signals2/detail/signal_template.hpp
==============================================================================
--- trunk/boost/signals2/detail/signal_template.hpp (original)
+++ trunk/boost/signals2/detail/signal_template.hpp 2009-05-31 11:33:47 EDT (Sun, 31 May 2009)
@@ -316,8 +316,7 @@
 #define BOOST_SIGNALS2_ADD_REF_ARGS(arity) \
   BOOST_PP_ENUM(arity, BOOST_SIGNALS2_ADD_REF_ARG, ~)
           slot_invoker(BOOST_SIGNALS2_ADD_REF_ARGS(BOOST_SIGNALS2_NUM_ARGS)) BOOST_PP_IF(BOOST_SIGNALS2_NUM_ARGS, :, )
-#define BOOST_SIGNALS2_ADD_REF_ARG(z, n, data) \
-#undef BOOST_SIGNALS2_ADD_REF_ARGS(arity)
+#undef BOOST_SIGNALS2_ADD_REF_ARGS
 
 // argn ( argn ) ,
 #define BOOST_SIGNALS2_MISC_STATEMENT(z, n, data) \
@@ -335,7 +334,7 @@
         private:
 #define BOOST_SIGNALS2_ADD_REF_ARG_STATEMENT(z, n, data) \
   BOOST_SIGNALS2_ADD_REF_ARG(z, n, data) ;
- BOOST_PP_REPEAT(BOOST_SIGNALS2_NUM_ARGS, BOOST_SIGNALS2_ADD_REF_ARG, ~)
+ BOOST_PP_REPEAT(BOOST_SIGNALS2_NUM_ARGS, BOOST_SIGNALS2_ADD_REF_ARG_STATEMENT, ~)
 #undef BOOST_SIGNALS2_ADD_REF_ARG_STATEMENT
 #undef BOOST_SIGNALS2_ADD_REF_ARG
           result_type m_invoke(const connection_body_type &connectionBody,


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