From 536529e48f26269ffcabccdbab7dc724d4557846 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 19 Apr 2018 17:31:10 +0200 Subject: [PATCH] Fixed unused captured variable warning --- pcbnew/tools/microwave_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };