diff --git a/tools/crashpad_database_util.cc b/tools/crashpad_database_util.cc index 17a4771d..a0036163 100644 --- a/tools/crashpad_database_util.cc +++ b/tools/crashpad_database_util.cc @@ -561,7 +561,7 @@ int DatabaseUtilMain(int argc, char* argv[]) { } 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 file_reader; if (new_report_path.value() == FILE_PATH_LITERAL("-")) {