From 0d5378fb840529e6230ac9329d2ad4a8723a4751 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 Feb 2018 14:21:05 +0100 Subject: [PATCH] Remove unnecessary "list" typedef from wxList iterators This typedef was simply never used and, as it was private, removing it shouldn't result in any compatibility problems. --- include/wx/list.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/wx/list.h b/include/wx/list.h index 427c0392f639..e370c2885b5d 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -761,7 +761,6 @@ friend class wxHashTableBase; // should be able to call untyped Find() \ classexp iterator \ { \ - typedef name list; \ public: \ typedef nodetype Node; \ typedef iterator itor; \ @@ -811,7 +810,6 @@ friend class wxHashTableBase; // should be able to call untyped Find() }; \ classexp const_iterator \ { \ - typedef name list; \ public: \ typedef nodetype Node; \ typedef T* value_type; \ @@ -864,7 +862,6 @@ friend class wxHashTableBase; // should be able to call untyped Find() }; \ classexp reverse_iterator \ { \ - typedef name list; \ public: \ typedef nodetype Node; \ typedef T* value_type; \ @@ -903,7 +900,6 @@ friend class wxHashTableBase; // should be able to call untyped Find() }; \ classexp const_reverse_iterator \ { \ - typedef name list; \ public: \ typedef nodetype Node; \ typedef T* value_type; \