Add missing const in AssignFilesToInlineOrigins method

Change-Id: I3904d52e946158439899f4c5aaa92d1d15160745
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3183519
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
Zequan Wu 2021-09-24 15:46:03 -07:00 committed by Ivan Penkov
parent 1816ae7f35
commit d4bf038be7

View file

@ -97,7 +97,7 @@ void Module::InlineOriginMap::SetReference(uint64_t offset,
} }
void Module::InlineOriginMap::AssignFilesToInlineOrigins( void Module::InlineOriginMap::AssignFilesToInlineOrigins(
vector<uint64_t>& inline_origin_offsets, const vector<uint64_t>& inline_origin_offsets,
Module::File* file) { Module::File* file) {
for (uint64_t offset : inline_origin_offsets) for (uint64_t offset : inline_origin_offsets)
if (references_.find(offset) != references_.end()) { if (references_.find(offset) != references_.end()) {