7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Fix compiler warning

This commit is contained in:
JamesJCode 2025-02-09 17:27:36 +00:00
parent 2f9bf31529
commit d1ba3c6402

View File

@ -353,7 +353,7 @@ CN_CONNECTIVITY_ALGO::SearchClusters( CLUSTER_SEARCH_MODE aMode, const std::vect
std::set<CN_ITEM*> visited;
auto addToSearchList =
[&item_set, withinAnyNet, aSingleNet, &aTypes, rootItem, &visited]( CN_ITEM *aItem )
[&item_set, withinAnyNet, aSingleNet, &aTypes, rootItem]( CN_ITEM *aItem )
{
if( withinAnyNet && aItem->Net() <= 0 )
return;