summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-08 23:05:34 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-08 23:05:34 +0100
commit744af119916b4203c4a434eedc64b2815543c8b7 (patch)
tree88c187c569655ff5e79b1e14f0b6e13bf53aaf28
parentc66434e08515ca06e2de1d4b8f1cc889cef7ba17 (diff)
downloadserenity-744af119916b4203c4a434eedc64b2815543c8b7.zip
LibDebug: Use move semantics when populating abbreviations map
-rw-r--r--Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp b/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp
index 74f800ae29..865cf56943 100644
--- a/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp
+++ b/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp
@@ -76,7 +76,7 @@ void AbbreviationsMap::populate_map()
}
} while (current_attribute_specification.attribute != Attribute::None || current_attribute_specification.form != AttributeDataForm::None);
- m_entries.set((u32)abbreviation_code, abbrevation_entry);
+ m_entries.set((u32)abbreviation_code, move(abbrevation_entry));
}
}