Loading eeschema/component_references_lister.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ //#define USE_OLD_ALGO void SCH_REFERENCE_LIST::RemoveItem( int aIndex ) void SCH_REFERENCE_LIST::RemoveItem( unsigned int aIndex ) { if( aIndex < componentFlatList.size() ) componentFlatList.erase( componentFlatList.begin() + aIndex ); Loading eeschema/dialogs/dialog_build_BOM.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -855,7 +855,7 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( FILE* f, int DIALOG_BUILD_BOM::PrintComponentsListByPart( FILE* aFile, SCH_REFERENCE_LIST& aList, bool aIncludeSubComponents ) { int index = 0; unsigned int index = 0; while( index < aList.GetCount() ) { SCH_COMPONENT *component = aList[index].GetComponent(); Loading eeschema/netlist.h +7 −1 Original line number Diff line number Diff line Loading @@ -220,7 +220,13 @@ public: componentFlatList.push_back( aItem ); } void RemoveItem( int aIndex ); /** * Function RemoveItem * removes an item from the list of references. * * @param aIndex is the index of the item to be removed. */ void RemoveItem( unsigned int aIndex ); /** * Function RemoveSubComponentsFromList Loading Loading
eeschema/component_references_lister.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ //#define USE_OLD_ALGO void SCH_REFERENCE_LIST::RemoveItem( int aIndex ) void SCH_REFERENCE_LIST::RemoveItem( unsigned int aIndex ) { if( aIndex < componentFlatList.size() ) componentFlatList.erase( componentFlatList.begin() + aIndex ); Loading
eeschema/dialogs/dialog_build_BOM.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -855,7 +855,7 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( FILE* f, int DIALOG_BUILD_BOM::PrintComponentsListByPart( FILE* aFile, SCH_REFERENCE_LIST& aList, bool aIncludeSubComponents ) { int index = 0; unsigned int index = 0; while( index < aList.GetCount() ) { SCH_COMPONENT *component = aList[index].GetComponent(); Loading
eeschema/netlist.h +7 −1 Original line number Diff line number Diff line Loading @@ -220,7 +220,13 @@ public: componentFlatList.push_back( aItem ); } void RemoveItem( int aIndex ); /** * Function RemoveItem * removes an item from the list of references. * * @param aIndex is the index of the item to be removed. */ void RemoveItem( unsigned int aIndex ); /** * Function RemoveSubComponentsFromList Loading