aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2017-01-09 19:31:19 +0100
committerPavel Janík <Pavel@Janik.cz>2017-01-09 19:31:19 +0100
commit7df5e382e5d5f37fc21e894eb285cc3e9c80dd83 (patch)
tree2b5c67245a612b1697f5bd216dd2f4ff60587ab1 /src/qt/rpcconsole.cpp
parent25720fc394e27a951bcad26095fb5a711bfacb8f (diff)
downloadbitcoin-7df5e382e5d5f37fc21e894eb285cc3e9c80dd83.tar.xz
Rename lambda argument name to prevent shadowing.
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index d84d6185d5..87d73b5f08 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<std::pair<size_t, size_t>> 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 = [&]() {