summaryrefslogtreecommitdiff
path: root/modules/commands/ms_ignore.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-04 12:28:55 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 12:28:55 +0000
commit106750db77be01c7b2d277a12d9b80de15cb8fbb (patch)
tree87df7f8b5966ca704f20ee7ab6a79b45ed2e95a2 /modules/commands/ms_ignore.cpp
parent7d1047490e4380c4f02900b711c66055d29fb387 (diff)
Replace all uses of push_back with emplace_back.
Diffstat (limited to 'modules/commands/ms_ignore.cpp')
-rw-r--r--modules/commands/ms_ignore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_ignore.cpp b/modules/commands/ms_ignore.cpp
index 8e0f1de9e..4543689b2 100644
--- a/modules/commands/ms_ignore.cpp
+++ b/modules/commands/ms_ignore.cpp
@@ -58,7 +58,7 @@ class CommandMSIgnore : public Command
if (std::find(mi->ignores.begin(), mi->ignores.end(), param.ci_str()) == mi->ignores.end())
{
- mi->ignores.push_back(param.ci_str());
+ mi->ignores.emplace_back(param.ci_str());
source.Reply(_("\002%s\002 added to ignore list."), param.c_str());
}
else