|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71890 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2011-05-12 10:11:01
Author: fmhess
Date: 2011-05-12 10:11:00 EDT (Thu, 12 May 2011)
New Revision: 71890
URL: http://svn.boost.org/trac/boost/changeset/71890
Log:
Use BOOST_PP_EMPTY for empty macro argument.
Text files modified:
trunk/boost/signals2/detail/signal_template.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/signals2/detail/signal_template.hpp
==============================================================================
--- trunk/boost/signals2/detail/signal_template.hpp (original)
+++ trunk/boost/signals2/detail/signal_template.hpp 2011-05-12 10:11:00 EDT (Thu, 12 May 2011)
@@ -326,7 +326,7 @@
// typename add_reference<T1>::type arg1, typename add_reference<T2>::type arg2, ..., typename add_reference<Tn>::type argn
#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, :, )
+ slot_invoker(BOOST_SIGNALS2_ADD_REF_ARGS(BOOST_SIGNALS2_NUM_ARGS)) BOOST_PP_IF(BOOST_SIGNALS2_NUM_ARGS, :, BOOST_PP_EMPTY)
#undef BOOST_SIGNALS2_ADD_REF_ARGS
// m_argn
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