Skip to content

Commit 0dabb80

Browse files
MarcoFalkecodablock
authored andcommitted
Merge bitcoin#9496: Rename lambda argument name to prevent shadowing
7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
1 parent 7c5de86 commit 0dabb80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/qt/rpcconsole.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ bool RPCConsole::RPCParseCommandLine(std::string &strResult, const std::string &
180180
size_t filter_begin_pos = 0, chpos;
181181
std::vector<std::pair<size_t, size_t>> filter_ranges;
182182

183-
auto add_to_current_stack = [&](const std::string& curarg) {
184-
if (stack.back().empty() && (!nDepthInsideSensitive) && historyFilter.contains(QString::fromStdString(curarg), Qt::CaseInsensitive)) {
183+
auto add_to_current_stack = [&](const std::string& strArg) {
184+
if (stack.back().empty() && (!nDepthInsideSensitive) && historyFilter.contains(QString::fromStdString(strArg), Qt::CaseInsensitive)) {
185185
nDepthInsideSensitive = 1;
186186
filter_begin_pos = chpos;
187187
}
188-
stack.back().push_back(curarg);
188+
stack.back().push_back(strArg);
189189
};
190190

191191
auto close_out_params = [&]() {

0 commit comments

Comments
 (0)