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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user