Browse Source

Merge #9496: Rename lambda argument name to prevent shadowing

7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
0.14
MarcoFalke 8 years ago
parent
commit
98c80e374b
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 6
      src/qt/rpcconsole.cpp

6
src/qt/rpcconsole.cpp

@ -170,12 +170,12 @@ bool RPCConsole::RPCParseCommandLine(std::string &strResult, const std::string & @@ -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 = [&]() {

Loading…
Cancel
Save