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/m_httpd.cpp | |
parent | 7d1047490e4380c4f02900b711c66055d29fb387 (diff) |
Replace all uses of push_back with emplace_back.
Diffstat (limited to 'modules/m_httpd.cpp')
-rw-r--r-- | modules/m_httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp index ad2a28b99..56c543e71 100644 --- a/modules/m_httpd.cpp +++ b/modules/m_httpd.cpp @@ -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; } |