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

Remove unused captures

This commit is contained in:
Seth Hillbrand 2025-02-11 09:50:23 -08:00
parent 7717c1e7d9
commit 0144352132

View File

@ -290,7 +290,7 @@ bool SCH_EDIT_TOOL::Init()
};
auto attribDNPCond =
[this] ( const SELECTION& aSel )
[] ( const SELECTION& aSel )
{
return std::all_of( aSel.Items().begin(), aSel.Items().end(),
[]( const EDA_ITEM* item )
@ -301,7 +301,7 @@ bool SCH_EDIT_TOOL::Init()
};
auto attribExcludeFromSimCond =
[this] ( const SELECTION& aSel )
[] ( const SELECTION& aSel )
{
return std::all_of( aSel.Items().begin(), aSel.Items().end(),
[]( const EDA_ITEM* item )
@ -312,7 +312,7 @@ bool SCH_EDIT_TOOL::Init()
};
auto attribExcludeFromBOMCond =
[this] ( const SELECTION& aSel )
[] ( const SELECTION& aSel )
{
return std::all_of( aSel.Items().begin(), aSel.Items().end(),
[]( const EDA_ITEM* item )
@ -324,7 +324,7 @@ bool SCH_EDIT_TOOL::Init()
auto attribExcludeFromBoardCond =
[this] ( const SELECTION& aSel )
[] ( const SELECTION& aSel )
{
return std::all_of( aSel.Items().begin(), aSel.Items().end(),
[]( const EDA_ITEM* item )