X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2aa096b6fa3d82275c714df05234ad9e52fca7d..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/include/wx/hashmap.h diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index f2a3f6642e..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: \ @@ -110,12 +110,12 @@ protected: \ \ struct Iterator; \ friend struct Iterator; \ - \ +protected: \ static void DeleteNode( _wxHashTable_NodeBase* node ) \ { \ delete (Node*)node; \ } \ - \ +public: \ /* */ \ /* forward iterator */ \ /* */ \