From 7076a766db6759ac698fea880616ede9545207cc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Sep 2022 11:20:16 +0100 Subject: Use auto in places where it is really obvious what the type is. --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 56825eedd..000a3d030 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -50,7 +50,7 @@ bool InspIRCd::BindPort(std::shared_ptr tag, const irc::sockets::sock } } - ListenSocket* ll = new ListenSocket(tag, sa); + auto ll = new ListenSocket(tag, sa); if (!ll->HasFd()) { ServerInstance->Logs.Normal("SOCKET", "Failed to listen on %s from tag at %s: %s", -- cgit v1.3.1-10-gc9f91