mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 00:52: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
@@ -16,7 +16,7 @@ void command_suspendmulti(Client *c, const Seperator *sep)
|
||||
const auto& n = Strings::Split(sep->arg[1], "|");
|
||||
std::vector<std::string> v;
|
||||
for (const auto& c : n) {
|
||||
v.push_back(fmt::format("'{}'", Strings::ToLower(c)));
|
||||
v.emplace_back(fmt::format("'{}'", Strings::ToLower(c)));
|
||||
}
|
||||
|
||||
auto days = Strings::ToUnsignedInt(sep->arg[2]);
|
||||
|
||||
Reference in new issue
Block a user