From 607f710e5d084d169c43338fc92c5b9c4fff9e32 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Fri, 8 Feb 2002 21:03:13 +0000 Subject: [PATCH] Blind fix for Watcom ( and VisualAge? ) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/hashmap.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index 8323cf26d0..1715c403f8 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -86,18 +86,18 @@ public: \ /* should these be protected? */ \ typedef const KEY_T const_key_type; \ typedef const VALUE_T const_mapped_type; \ -protected: \ +public: \ struct Node; \ typedef KEY_EX_T key_extractor; \ typedef CLASSNAME Self; \ - \ +protected: \ Node** m_table; \ size_t m_tableBuckets; \ size_t m_items; \ hasher m_hasher; \ key_equal m_equals; \ key_extractor m_getKey; \ - \ +public: \ struct Node:public _wxHashTable_NodeBase \ { \ public: \ @@ -109,13 +109,13 @@ protected: \ }; \ \ struct Iterator; \ - friend struct CLASSNAME::Iterator; \ - \ + friend struct Iterator; \ +protected: \ static void DeleteNode( _wxHashTable_NodeBase* node ) \ { \ delete (Node*)node; \ } \ - \ +public: \ /* */ \ /* forward iterator */ \ /* */ \ -- 2.45.2