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:
parent
15f345aad3
commit
f67a33e3ad
@ -821,15 +821,15 @@ private:
|
||||
ptrop \
|
||||
itor& operator++() \
|
||||
{ \
|
||||
if (m_node) \
|
||||
m_node = m_node->GetNext(); \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return *this; \
|
||||
} \
|
||||
const itor operator++(int) \
|
||||
{ \
|
||||
itor tmp = *this; \
|
||||
if (m_node) \
|
||||
m_node = m_node->GetNext(); \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return tmp; \
|
||||
} \
|
||||
itor& operator--() \
|
||||
@ -874,15 +874,15 @@ private:
|
||||
ptrop \
|
||||
itor& operator++() \
|
||||
{ \
|
||||
if (m_node) \
|
||||
m_node = m_node->GetNext(); \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return *this; \
|
||||
} \
|
||||
const itor operator++(int) \
|
||||
{ \
|
||||
itor tmp = *this; \
|
||||
if (m_node) \
|
||||
m_node = m_node->GetNext(); \
|
||||
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
|
||||
m_node = m_node->GetNext(); \
|
||||
return tmp; \
|
||||
} \
|
||||
itor& operator--() \
|
||||
|
Loading…
Reference in New Issue
Block a user