Skip to content

Commit

Permalink
Also remove wxList::const_iterator::const_reference typedef
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vadz committed Feb 23, 2018
1 parent 9edf067 commit 7e0ca83
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/wx/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down Expand Up @@ -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; \
Expand Down

0 comments on commit 7e0ca83

Please sign in to comment.