mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 19:10:25 +00:00
[Cleanup] Cleanup uses of insert/push_back when a temp object is used. (#3170)
This commit is contained in:
+1
-1
@@ -749,7 +749,7 @@ bool Corpse::Save() {
|
||||
e.ornamentidfile = item->ornamentidfile;
|
||||
e.ornament_hero_model = item->ornament_hero_model;
|
||||
|
||||
ce.items.push_back(std::move(e));
|
||||
ce.items.emplace_back(std::move(e));
|
||||
}
|
||||
|
||||
/* Create New Corpse*/
|
||||
|
||||
Reference in New Issue
Block a user