mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-29 18:42:18 +00:00
[Cleanup] Cleanup uses of insert/push_back when a temp object is used. (#3170)
This commit is contained in:
1 parent
2bb15271c5
commit
f752b57a55
42 files changed
+104
-104
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ void ZSList::ShowUpTime(WorldTCPConnection* con, const char* adminname) {
|
||||
}
|
||||
|
||||
void ZSList::Add(ZoneServer* zoneserver) {
|
||||
zone_server_list.push_back(std::unique_ptr<ZoneServer>(zoneserver));
|
||||
zone_server_list.emplace_back(std::unique_ptr<ZoneServer>(zoneserver));
|
||||
zoneserver->SendGroupIDs();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user