Remove unnecessary wxUSE_STL test from HTML parser benchmark
The same code can be used in STL and non-STL builds.
This commit is contained in:
parent
36009b02b3
commit
6ea0589ed3
1 changed files with 1 additions and 6 deletions
|
|
@ -367,12 +367,7 @@ void wx28HtmlParser::PopTagHandler()
|
|||
wxList::compatibility_iterator first;
|
||||
|
||||
if ( !m_HandlersStack ||
|
||||
#if wxUSE_STL
|
||||
!(first = m_HandlersStack->GetFirst())
|
||||
#else // !wxUSE_STL
|
||||
((first = m_HandlersStack->GetFirst()) == nullptr)
|
||||
#endif // wxUSE_STL/!wxUSE_STL
|
||||
)
|
||||
!(first = m_HandlersStack->GetFirst()) )
|
||||
{
|
||||
wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack."));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue