mirror of
https://github.com/boostorg/function.git
synced 2025-07-23 01:17: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>
|
||||
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f,
|
||||
int deprecated = 0)
|
||||
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f)
|
||||
{
|
||||
int deprecated;
|
||||
self_type(f).swap(*this);
|
||||
}
|
||||
|
||||
void set(const base_type& f,
|
||||
int deprecated = 0)
|
||||
void set(const base_type& f)
|
||||
{
|
||||
int deprecated;
|
||||
self_type(f).swap(*this);
|
||||
}
|
||||
|
||||
void set(const self_type& f,
|
||||
int deprecated = 0)
|
||||
void set(const self_type& f)
|
||||
{
|
||||
int deprecated;
|
||||
self_type(f).swap(*this);
|
||||
}
|
||||
};
|
||||
|
@ -322,9 +322,9 @@ namespace boost {
|
||||
}
|
||||
|
||||
template<typename Functor>
|
||||
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f,
|
||||
int deprecated = 0)
|
||||
void set(Functor BOOST_FUNCTION_TARGET_FIX(const &) f)
|
||||
{
|
||||
int deprecated;
|
||||
self_type(f, static_cast<const Mixin&>(*this)).swap(*this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user