reverted revision 1.6 -- Mattia obviously knows better than I do...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -86,18 +86,18 @@ public: \
|
|||||||
/* should these be protected? */ \
|
/* should these be protected? */ \
|
||||||
typedef const KEY_T const_key_type; \
|
typedef const KEY_T const_key_type; \
|
||||||
typedef const VALUE_T const_mapped_type; \
|
typedef const VALUE_T const_mapped_type; \
|
||||||
protected: \
|
public: \
|
||||||
struct Node; \
|
struct Node; \
|
||||||
typedef KEY_EX_T key_extractor; \
|
typedef KEY_EX_T key_extractor; \
|
||||||
typedef CLASSNAME Self; \
|
typedef CLASSNAME Self; \
|
||||||
\
|
protected: \
|
||||||
Node** m_table; \
|
Node** m_table; \
|
||||||
size_t m_tableBuckets; \
|
size_t m_tableBuckets; \
|
||||||
size_t m_items; \
|
size_t m_items; \
|
||||||
hasher m_hasher; \
|
hasher m_hasher; \
|
||||||
key_equal m_equals; \
|
key_equal m_equals; \
|
||||||
key_extractor m_getKey; \
|
key_extractor m_getKey; \
|
||||||
\
|
public: \
|
||||||
struct Node:public _wxHashTable_NodeBase \
|
struct Node:public _wxHashTable_NodeBase \
|
||||||
{ \
|
{ \
|
||||||
public: \
|
public: \
|
||||||
@@ -110,12 +110,12 @@ protected: \
|
|||||||
\
|
\
|
||||||
struct Iterator; \
|
struct Iterator; \
|
||||||
friend struct Iterator; \
|
friend struct Iterator; \
|
||||||
\
|
protected: \
|
||||||
static void DeleteNode( _wxHashTable_NodeBase* node ) \
|
static void DeleteNode( _wxHashTable_NodeBase* node ) \
|
||||||
{ \
|
{ \
|
||||||
delete (Node*)node; \
|
delete (Node*)node; \
|
||||||
} \
|
} \
|
||||||
\
|
public: \
|
||||||
/* */ \
|
/* */ \
|
||||||
/* forward iterator */ \
|
/* forward iterator */ \
|
||||||
/* */ \
|
/* */ \
|
||||||
|
Reference in New Issue
Block a user