LibDebug: Use move semantics when populating abbreviations map

This commit is contained in:
Andreas Kling 2020-11-08 23:05:34 +01:00
commit 744af11991
Notes: sideshowbarker 2024-07-19 01:29:34 +09:00

View file

@ -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));
}
}