commit | e72d08067d894c672bcc0d0c66846deea6962407 | [log] [tgz] |
---|---|---|
author | Nico Weber <thakis@chromium.org> | Sat Feb 22 19:28:49 2020 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 06:47:36 2021 -0800 |
tree | bced7223ca8e50337902b52aa75a8e017892a9ee | |
parent | eddda9f1fc37f15ac3af955fd8068cbfcc1bbb7b [diff] |
Fix a Wrange-loop-analysis warning in crashpad. Bug: chromium:1039697 Change-Id: I54d3dc7feca31774aaff2346a329b6125d3a769b Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2069637 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> GitOrigin-RevId: d632f625a2f229ab5a7e0540d49deb3a75d91028
diff --git a/tools/crashpad_database_util.cc b/tools/crashpad_database_util.cc index 17a4771..a003616 100644 --- a/tools/crashpad_database_util.cc +++ b/tools/crashpad_database_util.cc
@@ -561,7 +561,7 @@ } bool used_stdin = false; - for (const base::FilePath new_report_path : options.new_report_paths) { + for (const base::FilePath& new_report_path : options.new_report_paths) { std::unique_ptr<FileReaderInterface> file_reader; if (new_report_path.value() == FILE_PATH_LITERAL("-")) {