Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1735,11 +1735,11 @@ void SymbolFileNativePDB::CacheFunctionNames() {
}

// Sort them before value searching is working properly.
m_func_full_names.Sort();
m_func_full_names.Sort(std::less<uint32_t>());
m_func_full_names.SizeToFit();
m_func_method_names.Sort();
m_func_method_names.Sort(std::less<uint32_t>());
m_func_method_names.SizeToFit();
m_func_base_names.Sort();
m_func_base_names.Sort(std::less<uint32_t>());
m_func_base_names.SizeToFit();
}

Expand Down Expand Up @@ -2426,7 +2426,7 @@ void SymbolFileNativePDB::BuildParentMap() {

// After calling Append(), the type-name map needs to be sorted again to be
// able to look up a type by its name.
m_type_base_names.Sort();
m_type_base_names.Sort(std::less<uint32_t>());

// Now that we know the forward -> full mapping of all type indices, we can
// re-write all the indices. At the end of this process, we want a mapping
Expand Down
Loading