From ac648b1508685bab214463f6c0407a380390c2db Mon Sep 17 00:00:00 2001
From: Franz Detro <franz.detro@native-instruments.de>
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
|
b
|
namespace boost { namespace fusion
|
116 | 116 | { |
117 | 117 | template<typename State, typename It0, typename F> |
118 | 118 | static Result |
119 | | call(State const& state,It0 const& it0, F) |
| 119 | call(State const& state,It0 const&, F) |
120 | 120 | { |
121 | 121 | return static_cast<Result>(state); |
122 | 122 | } |
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
|
b
|
namespace boost { namespace fusion
|
115 | 115 | { |
116 | 116 | template<typename State, typename It0, typename F> |
117 | 117 | static Result |
118 | | call(State const& state,It0 const& it0, F) |
| 118 | call(State const& state,It0 const&, F) |
119 | 119 | { |
120 | 120 | return static_cast<Result>(state); |
121 | 121 | } |
diff --git a/boost/fusion/algorithm/query/detail/any.hpp b/boost/fusion/algorithm/query/detail/any.hpp
index 42409d5..5f6b857 100644
a
|
b
|
namespace detail
|
109 | 109 | struct unrolled_any<0> |
110 | 110 | { |
111 | 111 | template <typename It, typename F> |
112 | | static bool call(It const& it, F f) |
| 112 | static bool call(It const&, F) |
113 | 113 | { |
114 | 114 | return false; |
115 | 115 | } |
diff --git a/boost/fusion/iterator/iterator_adapter.hpp b/boost/fusion/iterator/iterator_adapter.hpp
index 6805626..9077f8f 100644
a
|
b
|
namespace boost { namespace fusion
|
23 | 23 | iterator_base_type; |
24 | 24 | iterator_base_type iterator_base; |
25 | 25 | |
26 | | iterator_adapter(iterator_base_type const& iterator_base) |
27 | | : iterator_base(iterator_base) {} |
| 26 | iterator_adapter(iterator_base_type const& iterator_base_) |
| 27 | : iterator_base(iterator_base_) {} |
28 | 28 | |
29 | 29 | // default implementation |
30 | 30 | template <typename I1, typename I2> |
diff --git a/boost/fusion/sequence/intrinsic/has_key.hpp b/boost/fusion/sequence/intrinsic/has_key.hpp
index 1ff05ba..9e0969a 100644
a
|
b
|
namespace boost { namespace fusion
|
68 | 68 | |
69 | 69 | template <typename Key, typename Sequence> |
70 | 70 | inline typename result_of::has_key<Sequence, Key>::type |
71 | | has_key(Sequence const& seq) |
| 71 | has_key(Sequence const&) |
72 | 72 | { |
73 | 73 | typedef typename result_of::has_key<Sequence, Key>::type result; |
74 | 74 | return result(); |