From ac648b1508685bab214463f6c0407a380390c2db Mon Sep 17 00:00:00 2001 From: Franz Detro Date: Tue, 4 Sep 2012 14:51:01 +0200 Subject: [PATCH] fix warnings in boost fusion --- boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp | 2 +- boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp | 2 +- boost/fusion/algorithm/query/detail/any.hpp | 2 +- boost/fusion/iterator/iterator_adapter.hpp | 4 ++-- boost/fusion/sequence/intrinsic/has_key.hpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp b/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp index d368338..c89a7dd 100644 --- a/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp +++ b/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp @@ -116,7 +116,7 @@ namespace boost { namespace fusion { template static Result - call(State const& state,It0 const& it0, F) + call(State const& state,It0 const&, F) { return static_cast(state); } diff --git a/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp b/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp index 71730ab..48a4134 100644 --- a/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp +++ b/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp @@ -115,7 +115,7 @@ namespace boost { namespace fusion { template static Result - call(State const& state,It0 const& it0, F) + call(State const& state,It0 const&, F) { return static_cast(state); } diff --git a/boost/fusion/algorithm/query/detail/any.hpp b/boost/fusion/algorithm/query/detail/any.hpp index 42409d5..5f6b857 100644 --- a/boost/fusion/algorithm/query/detail/any.hpp +++ b/boost/fusion/algorithm/query/detail/any.hpp @@ -109,7 +109,7 @@ namespace detail struct unrolled_any<0> { template - static bool call(It const& it, F f) + static bool call(It const&, F) { return false; } diff --git a/boost/fusion/iterator/iterator_adapter.hpp b/boost/fusion/iterator/iterator_adapter.hpp index 6805626..9077f8f 100644 --- a/boost/fusion/iterator/iterator_adapter.hpp +++ b/boost/fusion/iterator/iterator_adapter.hpp @@ -23,8 +23,8 @@ namespace boost { namespace fusion iterator_base_type; iterator_base_type iterator_base; - iterator_adapter(iterator_base_type const& iterator_base) - : iterator_base(iterator_base) {} + iterator_adapter(iterator_base_type const& iterator_base_) + : iterator_base(iterator_base_) {} // default implementation template diff --git a/boost/fusion/sequence/intrinsic/has_key.hpp b/boost/fusion/sequence/intrinsic/has_key.hpp index 1ff05ba..9e0969a 100644 --- a/boost/fusion/sequence/intrinsic/has_key.hpp +++ b/boost/fusion/sequence/intrinsic/has_key.hpp @@ -68,7 +68,7 @@ namespace boost { namespace fusion template inline typename result_of::has_key::type - has_key(Sequence const& seq) + has_key(Sequence const&) { typedef typename result_of::has_key::type result; return result(); -- 1.7.11.1