buggy remove operation, accidentally removing wrong entries fixed
This commit is contained in:
parent
7f4102ff7d
commit
72a7e7f8e7
@ -156,7 +156,7 @@ namespace
|
|||||||
void unregisterTable( QskHintAnimatorTable* table )
|
void unregisterTable( QskHintAnimatorTable* table )
|
||||||
{
|
{
|
||||||
auto it = std::lower_bound( m_tables.begin(), m_tables.end(), table );
|
auto it = std::lower_bound( m_tables.begin(), m_tables.end(), table );
|
||||||
if ( it != m_tables.end() )
|
if ( it != m_tables.end() && *it == table )
|
||||||
m_tables.erase( it );
|
m_tables.erase( it );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user