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:
Stefan Csomor
2011-02-02 13:49:44 +00:00
parent 15f345aad3
commit f67a33e3ad

View File

@@ -821,15 +821,15 @@ private:
ptrop \ ptrop \
itor& operator++() \ itor& operator++() \
{ \ { \
if (m_node) \ wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \ m_node = m_node->GetNext(); \
return *this; \ return *this; \
} \ } \
const itor operator++(int) \ const itor operator++(int) \
{ \ { \
itor tmp = *this; \ itor tmp = *this; \
if (m_node) \ wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \ m_node = m_node->GetNext(); \
return tmp; \ return tmp; \
} \ } \
itor& operator--() \ itor& operator--() \
@@ -874,15 +874,15 @@ private:
ptrop \ ptrop \
itor& operator++() \ itor& operator++() \
{ \ { \
if (m_node) \ wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \ m_node = m_node->GetNext(); \
return *this; \ return *this; \
} \ } \
const itor operator++(int) \ const itor operator++(int) \
{ \ { \
itor tmp = *this; \ itor tmp = *this; \
if (m_node) \ wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \ m_node = m_node->GetNext(); \
return tmp; \ return tmp; \
} \ } \
itor& operator--() \ itor& operator--() \