diff options
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp index 51a3d106180..9f5dab6c2e8 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp +++ b/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp @@ -136,7 +136,7 @@ void PdbIndex::BuildAddrToSymbolMap(CompilandIndexItem &cci) { // If the debug info is incorrect, we could have multiple symbols with the // same address. So use try_emplace instead of insert, and the first one // will win. - cci.m_symbols_by_va.try_emplace(va, PdbSymUid(cu_sym_id)); + cci.m_symbols_by_va.insert(std::make_pair(va, PdbSymUid(cu_sym_id))); } } |

