1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 08:16:37 +02:00

Replace all uses of push_back with emplace_back.

This commit is contained in:
Sadie Powell
2022-01-04 12:28:55 +00:00
parent 7d1047490e
commit 106750db77
19 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ Conf::Conf() : Block(""), EmptyBlock("")
if (password.find(' ') != Anope::string::npos || password[0] == ':')
throw ConfigException("uplink:password is not valid");
this->Uplinks.push_back(Uplink(host, port, password, ipv6));
this->Uplinks.emplace_back(host, port, password, ipv6);
}
for (int i = 0; i < this->CountBlock("module"); ++i)