From e3386d8e7e3ba2b82f9dae9f9133fd3e0b3a79d1 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 25 Sep 2002 03:30:18 +0000 Subject: [PATCH] Fixes for MSVC 6.0sp5 [SVN r15502] --- include/boost/function/function_template.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index febd1bf..8cb0151 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -24,7 +24,7 @@ #define BOOST_FUNCTION_PARM(J,I,D) BOOST_PP_CAT(T,I) BOOST_PP_CAT(a,I) -#define BOOST_FUNCTION_PARMS BOOST_PP_ENUM(BOOST_FUNCTION_NUM_ARGS,BOOST_FUNCTION_PARM,) +#define BOOST_FUNCTION_PARMS BOOST_PP_ENUM(BOOST_FUNCTION_NUM_ARGS,BOOST_FUNCTION_PARM,BOOST_PP_EMPTY) #define BOOST_FUNCTION_ARGS BOOST_PP_ENUM_PARAMS(BOOST_FUNCTION_NUM_ARGS, a) @@ -514,7 +514,7 @@ namespace boost { f1.swap(f2); } -#if !defined (BOOST_NO_PARTIAL_SPECIALIZATION) +#if !defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) #if BOOST_FUNCTION_NUM_ARGS == 0 #define BOOST_FUNCTION_PARTIAL_SPEC R (void)