mirror of
https://github.com/boostorg/function.git
synced 2025-07-23 17:37:14 +02:00
Removed all of the deprecated parameters and made them variables
[SVN r14578]
This commit is contained in:
@ -786,21 +786,21 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename Functor>
|
template<typename Functor>
|
||||||
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f,
|
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f)
|
||||||
int deprecated = 0)
|
|
||||||
{
|
{
|
||||||
|
int deprecated;
|
||||||
self_type(f).swap(*this);
|
self_type(f).swap(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set(const base_type& f,
|
void set(const base_type& f)
|
||||||
int deprecated = 0)
|
|
||||||
{
|
{
|
||||||
|
int deprecated;
|
||||||
self_type(f).swap(*this);
|
self_type(f).swap(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set(const self_type& f,
|
void set(const self_type& f)
|
||||||
int deprecated = 0)
|
|
||||||
{
|
{
|
||||||
|
int deprecated;
|
||||||
self_type(f).swap(*this);
|
self_type(f).swap(*this);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -322,9 +322,9 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename Functor>
|
template<typename Functor>
|
||||||
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f,
|
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f)
|
||||||
int deprecated = 0)
|
|
||||||
{
|
{
|
||||||
|
int deprecated;
|
||||||
self_type(f, static_cast<const Mixin&>(*this)).swap(*this);
|
self_type(f, static_cast<const Mixin&>(*this)).swap(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user