aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-01-10 10:14:15 +0100
committerMarcoFalke <falke.marco@gmail.com>2017-01-10 10:14:22 +0100
commit98c80e374b84e5a9c2d5c36889a0b1ebed5b814b (patch)
tree8687205948d1f6e4ff4b18177d6f3c2018bf3596 /src/qt
parent07fd147b9f12e9205afd66a624edce357977d615 (diff)
parent7df5e382e5d5f37fc21e894eb285cc3e9c80dd83 (diff)
Merge #9496: Rename lambda argument name to prevent shadowing
7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
Diffstat (limited to 'src/qt')
-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 = [&]() {