Ticket #8035: parameter.diff

File parameter.diff, 1.0 KB (added by Franz Detro <franz.detro@…>, 10 years ago)
  • boost/parameter/aux_/tagged_argument.hpp

    From 7e954af6cec76cd0cc7a97979dcecf8aec8a50b6 Mon Sep 17 00:00:00 2001
    From: Franz Detro <franz.detro@native-instruments.de>
    Date: Mon, 11 Feb 2013 12:33:36 +0100
    Subject: [PATCH] fix warnings in boost parameter
    
    ---
     boost/parameter/aux_/tagged_argument.hpp | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/boost/parameter/aux_/tagged_argument.hpp b/boost/parameter/aux_/tagged_argument.hpp
    index 6248be2..54b63ab 100644
    a b struct tagged_argument : tagged_argument_base  
    120120    }
    121121# else
    122122    template <class Default>
    123     reference operator[](default_<key_type,Default> const& x) const
     123    reference operator[](default_<key_type,Default> const&) const
    124124    {
    125125        return value;
    126126    }
    127127
    128128    template <class F>
    129     reference operator[](lazy_default<key_type,F> const& x) const
     129    reference operator[](lazy_default<key_type,F> const&) const
    130130    {
    131131        return value;
    132132    }