]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix -- a better way
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Feb 2002 23:25:36 +0000 (23:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Feb 2002 23:25:36 +0000 (23:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/hashmap.h

index 1715c403f84624650bc9a6789587e171eac5184b..f2a3f6642e5d97bc18fef9fabfbf86bbe152f4f0 100644 (file)
@@ -86,18 +86,18 @@ public: \
     /* should these be protected? */ \
     typedef const KEY_T const_key_type; \
     typedef const VALUE_T const_mapped_type; \
-public: \
+protected: \
     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: \
@@ -110,12 +110,12 @@ public: \
  \
     struct Iterator; \
     friend struct Iterator; \
-protected: \
+ \
     static void DeleteNode( _wxHashTable_NodeBase* node ) \
     { \
         delete (Node*)node; \
     } \
-public: \
+ \
     /*                  */ \
     /* forward iterator */ \
     /*                  */ \