From 6bde8ee74848ace245b8ad178d7a2105e4f0ea0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= 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 --- 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/include/boost/ptr_container/detail/map_iterator.hpp +++ b/include/boost/ptr_container/detail/map_iterator.hpp @@ -49,7 +49,7 @@ namespace boost : first(rp->first), second(rp->second) { } - const ref_pair* const operator->() const + const ref_pair* operator->() const { return this; } -- 1.8.3.1