switching to assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -821,14 +821,14 @@ private:
|
||||
ptrop \
|
||||
itor& operator++() \
|
||||
{ \
|
||||
if (m_node) \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return *this; \
|
||||
} \
|
||||
const itor operator++(int) \
|
||||
{ \
|
||||
itor tmp = *this; \
|
||||
if (m_node) \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return tmp; \
|
||||
} \
|
||||
@@ -874,14 +874,14 @@ private:
|
||||
ptrop \
|
||||
itor& operator++() \
|
||||
{ \
|
||||
if (m_node) \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return *this; \
|
||||
} \
|
||||
const itor operator++(int) \
|
||||
{ \
|
||||
itor tmp = *this; \
|
||||
if (m_node) \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return tmp; \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user