summaryrefslogtreecommitdiff
path: root/modules/m_httpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_httpd.cpp')
-rw-r--r--modules/m_httpd.cpp2
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;
}