mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 23:04:33 +02:00
Small fix (for gcc).
[SVN r19541]
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
#define BOOST_MPL_REPLACE_HPP_INCLUDED
|
#define BOOST_MPL_REPLACE_HPP_INCLUDED
|
||||||
|
|
||||||
#include "boost/mpl/replace_if.hpp"
|
#include "boost/mpl/replace_if.hpp"
|
||||||
|
#include "boost/mpl/protect.hpp"
|
||||||
#include "boost/mpl/same_as.hpp"
|
#include "boost/mpl/same_as.hpp"
|
||||||
#include "boost/mpl/aux_/void_spec.hpp"
|
#include "boost/mpl/aux_/void_spec.hpp"
|
||||||
|
|
||||||
@@ -32,7 +33,7 @@ template<
|
|||||||
, typename BOOST_MPL_AUX_VOID_SPEC_PARAM(NewType)
|
, typename BOOST_MPL_AUX_VOID_SPEC_PARAM(NewType)
|
||||||
>
|
>
|
||||||
struct replace
|
struct replace
|
||||||
: replace_if< Sequence,same_as<OldType>,NewType >
|
: replace_if< Sequence, protect< same_as<OldType> >, NewType >
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user