Avoid warnings in the DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -143,8 +143,8 @@ public: \
|
|||||||
value_type m_value; \
|
value_type m_value; \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
struct Iterator; \
|
CLASSEXP Iterator; \
|
||||||
friend struct Iterator; \
|
friend CLASSEXP Iterator; \
|
||||||
protected: \
|
protected: \
|
||||||
static void DeleteNode( _wxHashTable_NodeBase* node ) \
|
static void DeleteNode( _wxHashTable_NodeBase* node ) \
|
||||||
{ \
|
{ \
|
||||||
@@ -154,8 +154,9 @@ public: \
|
|||||||
/* */ \
|
/* */ \
|
||||||
/* forward iterator */ \
|
/* forward iterator */ \
|
||||||
/* */ \
|
/* */ \
|
||||||
struct Iterator \
|
CLASSEXP Iterator \
|
||||||
{ \
|
{ \
|
||||||
|
public: \
|
||||||
Node* m_node; \
|
Node* m_node; \
|
||||||
Self* m_ht; \
|
Self* m_ht; \
|
||||||
\
|
\
|
||||||
@@ -186,8 +187,9 @@ public: \
|
|||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
public: \
|
public: \
|
||||||
struct iterator:public Iterator \
|
CLASSEXP iterator : public Iterator \
|
||||||
{ \
|
{ \
|
||||||
|
public: \
|
||||||
iterator() : Iterator() {} \
|
iterator() : Iterator() {} \
|
||||||
iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} \
|
iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} \
|
||||||
iterator& operator++() { PlusPlus(); return *this; } \
|
iterator& operator++() { PlusPlus(); return *this; } \
|
||||||
@@ -196,8 +198,9 @@ public: \
|
|||||||
pointer operator ->() const { return &(m_node->m_value); } \
|
pointer operator ->() const { return &(m_node->m_value); } \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
struct const_iterator:public Iterator \
|
CLASSEXP const_iterator : public Iterator \
|
||||||
{ \
|
{ \
|
||||||
|
public: \
|
||||||
const_iterator() : Iterator() {} \
|
const_iterator() : Iterator() {} \
|
||||||
const_iterator( Node* node, const Self* ht ) \
|
const_iterator( Node* node, const Self* ht ) \
|
||||||
: Iterator( node, (Self*)ht ) {} \
|
: Iterator( node, (Self*)ht ) {} \
|
||||||
|
Reference in New Issue
Block a user