mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Use emplace_* functions where in-place construction is preferable
This commit is contained in:
@ -33,7 +33,7 @@ void LabelMap::RegisterLabel(const std::string &label, u16 lval, LabelType type)
|
||||
label.c_str(), lval, old_value);
|
||||
DeleteLabel(label);
|
||||
}
|
||||
labels.push_back(label_t(label, lval, type));
|
||||
labels.emplace_back(label, lval, type);
|
||||
}
|
||||
|
||||
void LabelMap::DeleteLabel(const std::string &label)
|
||||
|
Reference in New Issue
Block a user