Ticket #9895: 0002-ptr_container-fix-GCC-Wignored-qualifiers-warnings.patch

File 0002-ptr_container-fix-GCC-Wignored-qualifiers-warnings.patch, 964 bytes (added by mstahl@…, 9 years ago)
  • include/boost/ptr_container/detail/map_iterator.hpp

    From 6bde8ee74848ace245b8ad178d7a2105e4f0ea0b Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
    Date: Sat, 12 Apr 2014 18:14:27 +0200
    Subject: [PATCH 2/4] ptr_container: fix GCC -Wignored-qualifiers warnings
    
    Signed-off-by: Michael Stahl <mstahl@redhat.com>
    ---
     include/boost/ptr_container/detail/map_iterator.hpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/include/boost/ptr_container/detail/map_iterator.hpp b/include/boost/ptr_container/detail/map_iterator.hpp
    index e3ff4f2..ccb8043 100644
    a b namespace boost  
    4949            : first(rp->first), second(rp->second)
    5050            { }
    5151           
    52             const ref_pair* const operator->() const
     52            const ref_pair* operator->() const
    5353            {
    5454                return this;
    5555            }