1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 03:56: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
@@ -312,7 +312,7 @@ class MyHTTPProvider : public HTTPProvider, public Timer
ClientSocket* OnAccept(int fd, const sockaddrs &addr) override
{
MyHTTPClient *c = new MyHTTPClient(this, fd, addr);
this->clients.push_back(c);
this->clients.emplace_back(c);
return c;
}