From 58b61efb5ff21ad0d587d4fa4f490b709f3a35af Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 20 Jan 2006 16:53:30 +0000 Subject: [PATCH] trivial adjustments to enable warning-free compilation with gcc -Wall -W -Werror [SVN r32364] --- include/boost/function/function_template.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index b0d01b8..c6e6676 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -346,7 +346,7 @@ namespace boost { // Function objects template - void init(FunctionObj f, function_obj_tag) + void init(FunctionObj /*f*/, function_obj_tag) { typedef typename BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER< FunctionObj, @@ -404,7 +404,7 @@ namespace boost { // Reference to a function object template void - init(const reference_wrapper& f, function_obj_ref_tag) + init(const reference_wrapper& /*f*/, function_obj_ref_tag) { typedef typename BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER< FunctionObj,