diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-04 12:28:55 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 12:28:55 +0000 |
commit | 106750db77be01c7b2d277a12d9b80de15cb8fbb (patch) | |
tree | 87df7f8b5966ca704f20ee7ab6a79b45ed2e95a2 /modules/commands/cs_mode.cpp | |
parent | 7d1047490e4380c4f02900b711c66055d29fb387 (diff) |
Replace all uses of push_back with emplace_back.
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r-- | modules/commands/cs_mode.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp index 17ecc566c..a889ba4ec 100644 --- a/modules/commands/cs_mode.cpp +++ b/modules/commands/cs_mode.cpp @@ -685,8 +685,8 @@ class CommandCSMode : public Command { std::vector<Anope::string> new_params; new_params.push_back(params[0]); - new_params.push_back("SET"); - new_params.push_back("-*"); + new_params.emplace_back("SET"); + new_params.emplace_back("-*"); this->DoSet(source, ci, new_params); return; } @@ -721,9 +721,9 @@ class CommandCSMode : public Command std::vector<Anope::string> new_params; new_params.push_back(params[0]); - new_params.push_back("SET"); + new_params.emplace_back("SET"); new_params.push_back("-" + stringify(cm->mchar)); - new_params.push_back("*"); + new_params.emplace_back("*"); this->DoSet(source, ci, new_params); } |