mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 21:56:36 +00:00
[Cleanup] Cleanup uses of insert/push_back when a temp object is used. (#3170)
This commit is contained in:
@@ -32,7 +32,7 @@ void command_dye(Client *c, const Seperator *sep)
|
||||
c->Message(Chat::White, "Red, Green, and Blue go from 0 to 255.");
|
||||
|
||||
for (const auto &slot : dye_slots) {
|
||||
slot_messages.push_back(fmt::format("({}) {}", slot_id, slot));
|
||||
slot_messages.emplace_back(fmt::format("({}) {}", slot_id, slot));
|
||||
slot_id++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user