Ticket #5309: tagged_argument.hpp.patch

File tagged_argument.hpp.patch, 621 bytes (added by Colin Powers <colin.powers@…>, 12 years ago)

Patch to fix unused parameter compiler warnings

  • tagged_argument.hpp

    diff -dur old/tagged_argument.hpp new/tagged_argument.hpp
    old new  
    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    }