summaryrefslogtreecommitdiff
path: root/modules/m_httpd.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-06 13:23:37 +0000
committerSadie Powell <sadie@witchery.services>2024-01-06 13:23:37 +0000
commita9ab0c72a69cacc597e91870f50622de0334f9a7 (patch)
tree57665546eb565fa608a203aca5f4ac65dc57a6f3 /modules/m_httpd.cpp
parentde918ef9cfb652b20b215d0d2f6622eb9a117b2c (diff)
Use auto in places where the type is unambiguous.
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 50d7220bf..fa9f03823 100644
--- a/modules/m_httpd.cpp
+++ b/modules/m_httpd.cpp
@@ -306,7 +306,7 @@ public:
ClientSocket* OnAccept(int fd, const sockaddrs &addr) override
{
- MyHTTPClient *c = new MyHTTPClient(this, fd, addr);
+ auto *c = new MyHTTPClient(this, fd, addr);
this->clients.emplace_back(c);
return c;
}