summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
index 8cf332f8a95..e289825172d 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
@@ -367,8 +367,8 @@ void PdbAstBuilder::BuildParentMap() {
std::vector<TypeIndex> full_keys;
std::vector<TypeIndex> fwd_keys;
for (auto &entry : m_parent_types) {
- TypeIndex key, value;
- std::tie(key, value) = entry;
+ TypeIndex key = entry.first;
+ TypeIndex value = entry.second;
auto iter = forward_to_full.find(value);
if (iter != forward_to_full.end())
OpenPOWER on IntegriCloud