From 2cf51a12f1c6b442dbe7f7fb367891b36db471db Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sat, 11 Apr 2009 06:07:54 +0000 Subject: [PATCH] fix off-by-1 errors [SVN r52315] --- include/boost/mpl/string.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/mpl/string.hpp b/include/boost/mpl/string.hpp index 885059f..f5877d4 100644 --- a/include/boost/mpl/string.hpp +++ b/include/boost/mpl/string.hpp @@ -176,7 +176,7 @@ namespace boost { namespace mpl type; \ }; - BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_DEC(BOOST_MPL_STRING_MAX_PARAMS), M0, ~) + BOOST_PP_REPEAT_FROM_TO(1, BOOST_MPL_STRING_MAX_PARAMS, M0, ~) #undef M0 template @@ -263,7 +263,7 @@ namespace boost { namespace mpl type; \ }; - BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_DEC(BOOST_MPL_STRING_MAX_PARAMS), M0, ~) + BOOST_PP_REPEAT_FROM_TO(1, BOOST_MPL_STRING_MAX_PARAMS, M0, ~) #undef M0 template @@ -297,7 +297,7 @@ namespace boost { namespace mpl type; \ }; - BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_DEC(BOOST_MPL_STRING_MAX_PARAMS), M0, ~) + BOOST_PP_REPEAT_FROM_TO(1, BOOST_MPL_STRING_MAX_PARAMS, M0, ~) #undef M0 template