EEschema: Fix back annotation

Repairs back annotation after some schematic code modifications
This commit is contained in:
Alexander 2020-03-07 10:43:30 +03:00 committed by Alexander Shuklin
parent c7daca1e78
commit cf25975876
1 changed files with 2 additions and 0 deletions

View File

@ -233,6 +233,8 @@ int BACK_ANNOTATE::checkForUnusedSymbols()
{
int errors = 0;
m_refs.SortByTimeStamp();
std::sort(
m_changelist.begin(), m_changelist.end(), []( CHANGELIST_ITEM a, CHANGELIST_ITEM b ) {
return SCH_REFERENCE_LIST::sortByTimeStamp( a.first, b.first );