From 7e0ca8357e6e1d04fcd25ab32cbe8ca35ddf0579 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 Feb 2018 16:03:36 +0100 Subject: [PATCH] Also remove wxList::const_iterator::const_reference typedef This typedef is redundant with the "reference" one and doesn't seem to be used anywhere. As with the previous commit, this one could be reverted later if it turns out it does break any existing code, but this seems unlikely. --- include/wx/list.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/wx/list.h b/include/wx/list.h index 8b67ccbd88bc..22446a2dd460 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -831,7 +831,6 @@ friend class wxHashTableBase; // should be able to call untyped Find() typedef const value_type& reference; \ \ typedef nodetype Node; \ - typedef const value_type& const_reference; \ typedef const_iterator itor; \ \ Node* m_node; \ @@ -927,7 +926,6 @@ friend class wxHashTableBase; // should be able to call untyped Find() \ typedef nodetype Node; \ typedef const_reverse_iterator itor; \ - typedef const value_type& const_reference; \ \ Node* m_node; \ Node* m_init; \