Ticket #7427: fusion-warnings.diff

File fusion-warnings.diff, 3.6 KB (added by Franz Detro <franz.detro@…>, 10 years ago)
  • boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp

    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  
    116116        {
    117117            template<typename State, typename It0, typename F>
    118118            static Result
    119             call(State const& state,It0 const& it0, F)
     119            call(State const& state,It0 const&, F)
    120120            {
    121121                return static_cast<Result>(state);
    122122            }
  • boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp

    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  
    115115        {
    116116            template<typename State, typename It0, typename F>
    117117            static Result
    118             call(State const& state,It0 const& it0, F)
     118            call(State const& state,It0 const&, F)
    119119            {
    120120                return static_cast<Result>(state);
    121121            }
  • boost/fusion/algorithm/query/detail/any.hpp

    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  
    109109    struct unrolled_any<0>
    110110    {
    111111        template <typename It, typename F>
    112         static bool call(It const& it, F f)
     112        static bool call(It const&, F)
    113113        {
    114114            return false;
    115115        }
  • boost/fusion/iterator/iterator_adapter.hpp

    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  
    2323        iterator_base_type;
    2424        iterator_base_type iterator_base;
    2525
    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_) {}
    2828
    2929        // default implementation
    3030        template <typename I1, typename I2>
  • boost/fusion/sequence/intrinsic/has_key.hpp

    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  
    6868
    6969    template <typename Key, typename Sequence>
    7070    inline typename result_of::has_key<Sequence, Key>::type
    71     has_key(Sequence const& seq)
     71    has_key(Sequence const&)
    7272    {
    7373        typedef typename result_of::has_key<Sequence, Key>::type result;
    7474        return result();