diff --git a/common/lib_tree_model.cpp b/common/lib_tree_model.cpp index 6819c8306c..4770e12b44 100644 --- a/common/lib_tree_model.cpp +++ b/common/lib_tree_model.cpp @@ -296,7 +296,7 @@ void LIB_TREE_NODE_LIB::UpdateScore( EDA_COMBINED_MATCHER& aMatcher, const wxStr if( m_Children.size() ) { - for( std::unique_ptr& child: m_Children ) + for( std::unique_ptr& child: m_Children ) { child->UpdateScore( aMatcher, aLib ); m_Score = std::max( m_Score, child->m_Score );