From 1def65b0f5388ee95ab65a14f79e801ffdcca74e Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Wed, 25 Mar 2015 18:49:35 +0900 Subject: [PATCH] Suppress unused parameter warnings. --- include/boost/phoenix/core/is_value.hpp | 2 +- include/boost/phoenix/function/lazy_list.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/phoenix/core/is_value.hpp b/include/boost/phoenix/core/is_value.hpp index 501d7e0..80f6569 100644 --- a/include/boost/phoenix/core/is_value.hpp +++ b/include/boost/phoenix/core/is_value.hpp @@ -53,7 +53,7 @@ namespace boost { namespace phoenix {}; template - bool is_val(T const &t) + bool is_val(T const & /* t */) { return is_value::value; } diff --git a/include/boost/phoenix/function/lazy_list.hpp b/include/boost/phoenix/function/lazy_list.hpp index 08f53fe..996d34f 100644 --- a/include/boost/phoenix/function/lazy_list.hpp +++ b/include/boost/phoenix/function/lazy_list.hpp @@ -208,7 +208,7 @@ namespace boost { template <> bool is_a_unique_type_for_nil - (const a_unique_type_for_nil& n) { + (const a_unique_type_for_nil& /* n */) { return true; } @@ -1420,7 +1420,7 @@ bool operator<( a_unique_type_for_nil, const list& b ) { } template - typename result::type operator()( const L& l, const a_unique_type_for_nil& n ) const + typename result::type operator()( const L& l, const a_unique_type_for_nil& /* n */ ) const { listlike::EnsureListLike(); return l;