From 7df5e382e5d5f37fc21e894eb285cc3e9c80dd83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jan=C3=ADk?= Date: Mon, 9 Jan 2017 19:31:19 +0100 Subject: [PATCH] Rename lambda argument name to prevent shadowing. --- src/qt/rpcconsole.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index d84d6185d58..87d73b5f089 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -170,12 +170,12 @@ bool RPCConsole::RPCParseCommandLine(std::string &strResult, const std::string & size_t filter_begin_pos = 0, chpos; std::vector> filter_ranges; - auto add_to_current_stack = [&](const std::string& curarg) { - if (stack.back().empty() && (!nDepthInsideSensitive) && historyFilter.contains(QString::fromStdString(curarg), Qt::CaseInsensitive)) { + auto add_to_current_stack = [&](const std::string& strArg) { + if (stack.back().empty() && (!nDepthInsideSensitive) && historyFilter.contains(QString::fromStdString(strArg), Qt::CaseInsensitive)) { nDepthInsideSensitive = 1; filter_begin_pos = chpos; } - stack.back().push_back(curarg); + stack.back().push_back(strArg); }; auto close_out_params = [&]() {