From f34aa04b01683e7697db5cf90821bac7a0bc5d14 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 26 Dec 2022 12:35:26 +0200 Subject: [PATCH] Fix a shadowed variable warning --- source/customizedtool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/customizedtool.cpp b/source/customizedtool.cpp index 0a3f3a5..681d87e 100644 --- a/source/customizedtool.cpp +++ b/source/customizedtool.cpp @@ -17,7 +17,7 @@ CustomizedTool::CustomizedTool(Tool &t, const Architecture &a): aux_suffixes = parent.get_auxiliary_suffixes(); processing_unit = parent.get_processing_unit(); - set_run([this](const Target &t){ return parent.run(t); }); + set_run([this](const Target &tgt){ return parent.run(tgt); }); } Target *CustomizedTool::create_source(const Component &c, const FS::Path &p) const -- 2.45.2