Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80812 - in trunk/boost/fusion: algorithm/iteration/detail/preprocessed algorithm/query/detail iterator sequence/intrinsic
From: joel_at_[hidden]
Date: 2012-10-01 21:12:20


Author: djowel
Date: 2012-10-01 21:12:19 EDT (Mon, 01 Oct 2012)
New Revision: 80812
URL: http://svn.boost.org/trac/boost/changeset/80812

Log:
#7427 (Warning fixes in fusion)
Text files modified:
   trunk/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp | 2 +-
   trunk/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp | 2 +-
   trunk/boost/fusion/algorithm/query/detail/any.hpp | 2 +-
   trunk/boost/fusion/iterator/iterator_adapter.hpp | 4 ++--
   trunk/boost/fusion/sequence/intrinsic/has_key.hpp | 2 +-
   5 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp
==============================================================================
--- trunk/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp (original)
+++ trunk/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp 2012-10-01 21:12:19 EDT (Mon, 01 Oct 2012)
@@ -116,7 +116,7 @@
         {
             template<typename State, typename It0, typename F>
             static Result
- call(State const& state,It0 const& it0, F)
+ call(State const& state,It0 const&, F)
             {
                 return static_cast<Result>(state);
             }

Modified: trunk/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp
==============================================================================
--- trunk/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp (original)
+++ trunk/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp 2012-10-01 21:12:19 EDT (Mon, 01 Oct 2012)
@@ -115,7 +115,7 @@
         {
             template<typename State, typename It0, typename F>
             static Result
- call(State const& state,It0 const& it0, F)
+ call(State const& state,It0 const&, F)
             {
                 return static_cast<Result>(state);
             }

Modified: trunk/boost/fusion/algorithm/query/detail/any.hpp
==============================================================================
--- trunk/boost/fusion/algorithm/query/detail/any.hpp (original)
+++ trunk/boost/fusion/algorithm/query/detail/any.hpp 2012-10-01 21:12:19 EDT (Mon, 01 Oct 2012)
@@ -109,7 +109,7 @@
     struct unrolled_any<0>
     {
         template <typename It, typename F>
- static bool call(It const& it, F f)
+ static bool call(It const&, F)
         {
             return false;
         }

Modified: trunk/boost/fusion/iterator/iterator_adapter.hpp
==============================================================================
--- trunk/boost/fusion/iterator/iterator_adapter.hpp (original)
+++ trunk/boost/fusion/iterator/iterator_adapter.hpp 2012-10-01 21:12:19 EDT (Mon, 01 Oct 2012)
@@ -23,8 +23,8 @@
         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 <typename I1, typename I2>

Modified: trunk/boost/fusion/sequence/intrinsic/has_key.hpp
==============================================================================
--- trunk/boost/fusion/sequence/intrinsic/has_key.hpp (original)
+++ trunk/boost/fusion/sequence/intrinsic/has_key.hpp 2012-10-01 21:12:19 EDT (Mon, 01 Oct 2012)
@@ -68,7 +68,7 @@
 
     template <typename Key, typename Sequence>
     inline typename result_of::has_key<Sequence, Key>::type
- has_key(Sequence const& seq)
+ has_key(Sequence const&)
     {
         typedef typename result_of::has_key<Sequence, Key>::type result;
         return result();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk