forked from boostorg/function
trivial adjustments to enable warning-free compilation with gcc -Wall -W -Werror
[SVN r32364]
This commit is contained in:
@ -346,7 +346,7 @@ namespace boost {
|
|||||||
|
|
||||||
// Function objects
|
// Function objects
|
||||||
template<typename FunctionObj>
|
template<typename FunctionObj>
|
||||||
void init(FunctionObj f, function_obj_tag)
|
void init(FunctionObj /*f*/, function_obj_tag)
|
||||||
{
|
{
|
||||||
typedef typename BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER<
|
typedef typename BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER<
|
||||||
FunctionObj,
|
FunctionObj,
|
||||||
@ -404,7 +404,7 @@ namespace boost {
|
|||||||
// Reference to a function object
|
// Reference to a function object
|
||||||
template<typename FunctionObj>
|
template<typename FunctionObj>
|
||||||
void
|
void
|
||||||
init(const reference_wrapper<FunctionObj>& f, function_obj_ref_tag)
|
init(const reference_wrapper<FunctionObj>& /*f*/, function_obj_ref_tag)
|
||||||
{
|
{
|
||||||
typedef typename BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER<
|
typedef typename BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER<
|
||||||
FunctionObj,
|
FunctionObj,
|
||||||
|
Reference in New Issue
Block a user