Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53402 - trunk/boost/parameter
From: daniel_at_[hidden]
Date: 2009-05-29 14:06:46


Author: danielw
Date: 2009-05-29 14:06:46 EDT (Fri, 29 May 2009)
New Revision: 53402
URL: http://svn.boost.org/trac/boost/changeset/53402

Log:
Silence "unused parameter" warning in BOOST_PARAMETER_FUNCTION().
Fixes #2808.

Text files modified:
   trunk/boost/parameter/preprocessor.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/parameter/preprocessor.hpp
==============================================================================
--- trunk/boost/parameter/preprocessor.hpp (original)
+++ trunk/boost/parameter/preprocessor.hpp 2009-05-29 14:06:46 EDT (Fri, 29 May 2009)
@@ -361,7 +361,7 @@
 # define BOOST_PARAMETER_FUNCTION_FWD_MATCH_Z(z, name, parameters, n) \
     , typename boost::parameter::aux::match< \
           parameters, BOOST_PP_ENUM_PARAMS(n, ParameterArgumentType) \
- >::type boost_parameter_enabler_argument = parameters()
+ >::type = parameters()
 # else
 # define BOOST_PARAMETER_FUNCTION_FWD_MATCH_Z(z, name, parameters, n)
 # endif


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