diff --git a/pcbnew/tools/microwave_tool.cpp b/pcbnew/tools/microwave_tool.cpp index 582e32aed2..30511da88a 100644 --- a/pcbnew/tools/microwave_tool.cpp +++ b/pcbnew/tools/microwave_tool.cpp @@ -108,7 +108,7 @@ void MICROWAVE_TOOL::Reset( RESET_REASON aReason ) bool MICROWAVE_TOOL::Init() { - auto activeToolFunctor = [ this ] ( const SELECTION& aSel ) { + auto activeToolFunctor = [] ( const SELECTION& aSel ) { return true; };