Make iterator string types match map container string types

Fixes a compilation error when ::string != std::string.

Bug:
Change-Id: Ifa782da65dd08973de1fc4215f658c798ae5160b
Reviewed-on: https://chromium-review.googlesource.com/802324
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Mike Wittman 2017-11-30 15:43:11 -08:00 committed by Mark Mentovai
parent b1226959a2
commit a61afe7a3e

View File

@ -4904,7 +4904,7 @@ void MinidumpCrashpadInfo::Print() {
MDGUIDToString(crashpad_info_.report_id).c_str()); MDGUIDToString(crashpad_info_.report_id).c_str());
printf(" client_id = %s\n", printf(" client_id = %s\n",
MDGUIDToString(crashpad_info_.client_id).c_str()); MDGUIDToString(crashpad_info_.client_id).c_str());
for (std::map<string, string>::const_iterator iterator = for (std::map<std::string, std::string>::const_iterator iterator =
simple_annotations_.begin(); simple_annotations_.begin();
iterator != simple_annotations_.end(); iterator != simple_annotations_.end();
++iterator) { ++iterator) {
@ -4928,7 +4928,7 @@ void MinidumpCrashpadInfo::Print() {
module_crashpad_info_list_annotations_ module_crashpad_info_list_annotations_
[module_index][annotation_index].c_str()); [module_index][annotation_index].c_str());
} }
for (std::map<string, string>::const_iterator iterator = for (std::map<std::string, std::string>::const_iterator iterator =
module_crashpad_info_simple_annotations_[module_index].begin(); module_crashpad_info_simple_annotations_[module_index].begin();
iterator != iterator !=
module_crashpad_info_simple_annotations_[module_index].end(); module_crashpad_info_simple_annotations_[module_index].end();