diff --git a/src/common/windows/pdb_source_line_writer.h b/src/common/windows/pdb_source_line_writer.h index 9aeb2a44..e9e89bb2 100644 --- a/src/common/windows/pdb_source_line_writer.h +++ b/src/common/windows/pdb_source_line_writer.h @@ -35,7 +35,7 @@ #include -#include +#include #include #include "common/windows/omap.h" @@ -47,7 +47,7 @@ struct IDiaSymbol; namespace google_breakpad { using std::wstring; -using stdext::hash_map; +using std::unordered_map; // A structure that carries information that identifies a pdb file. struct PDBModuleInfo { @@ -192,7 +192,7 @@ class PDBSourceLineWriter { // Store this ID in the cache as a duplicate for this filename. void StoreDuplicateFileID(const wstring &file, DWORD id) { - hash_map::iterator iter = unique_files_.find(file); + unordered_map::iterator iter = unique_files_.find(file); if (iter != unique_files_.end()) { // map this id to the previously seen one file_ids_[id] = iter->second; @@ -204,7 +204,7 @@ class PDBSourceLineWriter { // but different unique IDs. The cache attempts to coalesce these into // one ID per unique filename. DWORD GetRealFileID(DWORD id) { - hash_map::iterator iter = file_ids_.find(id); + unordered_map::iterator iter = file_ids_.find(id); if (iter == file_ids_.end()) return id; return iter->second; @@ -240,9 +240,9 @@ class PDBSourceLineWriter { // There may be many duplicate filenames with different IDs. // This maps from the DIA "unique ID" to a single ID per unique // filename. - hash_map file_ids_; + unordered_map file_ids_; // This maps unique filenames to file IDs. - hash_map unique_files_; + unordered_map unique_files_; // This is used for calculating post-transform symbol addresses and lengths. ImageMap image_map_;