forked from boostorg/function
Removed all of the deprecated parameters and made them variables
[SVN r14578]
This commit is contained in:
1 parent
2963cb89a8
commit
9db8577d16
2 files changed
+8
-8
No files matched your search
@@ -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