From: Mikko Rasa Date: Mon, 26 Dec 2022 10:35:26 +0000 (+0200) Subject: Fix a shadowed variable warning X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=f34aa04b01683e7697db5cf90821bac7a0bc5d14;p=builder.git Fix a shadowed variable warning --- 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