mirror of
https://github.com/anope/anope.git
synced 2026-07-09 18:23:12 +02:00
Use auto in places where the type is unambiguous.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user