From 744af119916b4203c4a434eedc64b2815543c8b7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 8 Nov 2020 23:05:34 +0100 Subject: [PATCH] LibDebug: Use move semantics when populating abbreviations map --- Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }