From 74d4e978f90f7fec4332aac10bddccbce19e6f4d Mon Sep 17 00:00:00 2001 From: Eric Friedman Date: Tue, 12 Aug 2003 02:22:01 +0000 Subject: [PATCH] Small fix (for gcc). [SVN r19541] --- include/boost/mpl/replace.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/mpl/replace.hpp b/include/boost/mpl/replace.hpp index ea6025b..a3299a9 100644 --- a/include/boost/mpl/replace.hpp +++ b/include/boost/mpl/replace.hpp @@ -18,6 +18,7 @@ #define BOOST_MPL_REPLACE_HPP_INCLUDED #include "boost/mpl/replace_if.hpp" +#include "boost/mpl/protect.hpp" #include "boost/mpl/same_as.hpp" #include "boost/mpl/aux_/void_spec.hpp" @@ -32,7 +33,7 @@ template< , typename BOOST_MPL_AUX_VOID_SPEC_PARAM(NewType) > struct replace - : replace_if< Sequence,same_as,NewType > + : replace_if< Sequence, protect< same_as >, NewType > { };