Fix warning.

This commit is contained in:
Alex Shvartzkop 2024-04-26 14:56:37 +03:00
parent 28f48cbec1
commit 01ce6111ff
1 changed files with 1 additions and 2 deletions

View File

@ -1801,8 +1801,7 @@ void SCH_EDIT_FRAME::RecalculateConnections( SCH_COMMIT* aCommit, SCH_CLEANUP_FL
std::vector<CHANGED_ITEM> changed_connectable_items;
// Lambda to add an item to the connectivity update sets
auto addItemToChangeSet =
[&changed_items, &pts, &item_paths, &changed_screens]( CHANGED_ITEM itemData )
auto addItemToChangeSet = [&changed_items, &pts, &item_paths]( CHANGED_ITEM itemData )
{
SCH_SHEET_PATHS& paths = itemData.screen->GetClientSheetPaths();