Renamed BOOST_MSVC_ONLY to BOOST_FUNCTION_TARGET_FIX

Metrowerks needs the BOOST_FUNCTION_TARGET_FIX workaround


[SVN r12144]
This commit is contained in:
Douglas Gregor
2001-12-24 17:10:47 +00:00
parent fb26630e37
commit d3daf6db42
3 changed files with 12 additions and 11 deletions

View File

@ -456,12 +456,12 @@ namespace boost {
function() : base_type() {}
template<typename Functor>
function(Functor BOOST_MSVC_ONLY(const &) f) : base_type(f) {}
function(Functor BOOST_FUNCTION_TARGET_FIX(const &) f) : base_type(f) {}
function(const self_type& f) : base_type(static_cast<const base_type&>(f)){}
template<typename Functor>
self_type& operator=(Functor BOOST_MSVC_ONLY(const &) f)
self_type& operator=(Functor BOOST_FUNCTION_TARGET_FIX(const &) f)
{
self_type(f).swap(*this);
return *this;
@ -476,11 +476,11 @@ namespace boost {
self_type& operator=(const self_type& f)
{
self_type(f).swap(*this);
return *this;
}
return *this;
}
template<typename Functor>
void set(Functor BOOST_MSVC_ONLY(const &) f)
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f)
{
self_type(f).swap(*this);
}