|
|
@ -625,14 +625,6 @@ void SCH_SYMBOL::RemoveInstance( const KIID_PATH& aInstancePath ) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void SCH_SYMBOL::SortInstances( bool (*aSortFunction)( const SCH_SYMBOL_INSTANCE& aLhs, |
|
|
|
const SCH_SYMBOL_INSTANCE& aRhs ) ) |
|
|
|
{ |
|
|
|
if( m_instanceReferences.size() > 1 ) |
|
|
|
std::sort( m_instanceReferences.begin(), m_instanceReferences.end(), aSortFunction ); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void SCH_SYMBOL::AddHierarchicalReference( const KIID_PATH& aPath, const wxString& aRef, int aUnit ) |
|
|
|
{ |
|
|
|
// Search for an existing path and remove it if found (should not occur)
|
|
|
|