From c514cd532c8515061bcd69df61d685b45b29da4f Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Tue, 8 Jul 2003 22:07:59 +0000 Subject: [PATCH] Blind fix for MSVC. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynarray.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index b31d5b3b4d..cc79f0a680 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -346,8 +346,9 @@ public: \ \ class reverse_iterator \ { \ - typedef name::reference reference; \ - typedef name::pointer pointer; \ + typedef T value_type; \ + typedef value_type& reference; \ + typedef value_type* pointer; \ typedef reverse_iterator itor; \ friend itor operator+(int o, const itor& it); \ friend itor operator+(const itor& it, int o); \ @@ -371,8 +372,9 @@ public: \ \ class const_reverse_iterator \ { \ - typedef name::const_reference reference; \ - typedef name::const_pointer pointer; \ + typedef T value_type; \ + typedef const value_type& reference; \ + typedef const value_type* pointer; \ typedef const_reverse_iterator itor; \ friend itor operator+(int o, const itor& it); \ friend itor operator+(const itor& it, int o); \