Commit cd9b38e1 authored by Mario Hlawitschka's avatar Mario Hlawitschka

[FIX] fixed an incorrect comparison that never causes problems in consisting...

[FIX] fixed an incorrect comparison that never causes problems in consisting setups of the data structure
parent acbb0550
...@@ -92,7 +92,7 @@ void WNetworkLayoutNode::remove( WNetworkLayoutNode *node ) ...@@ -92,7 +92,7 @@ void WNetworkLayoutNode::remove( WNetworkLayoutNode *node )
else else
{ {
iter = std::find( m_parents.begin(), m_parents.end(), node ); iter = std::find( m_parents.begin(), m_parents.end(), node );
if( iter != m_children.end() ) if( iter != m_parents.end() )
{ {
m_parents.erase( iter ); m_parents.erase( iter );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment