diff options
| author | 2022-09-04 11:20:16 +0100 | |
|---|---|---|
| committer | 2022-09-04 11:28:10 +0100 | |
| commit | 7076a766db6759ac698fea880616ede9545207cc (patch) | |
| tree | 24b03370daca1f5ff92a728d9e6abe135a3a2359 /src/socket.cpp | |
| parent | Fix some warnings noticed by the readability-* clang-tidy checkers. (diff) | |
Use auto in places where it is really obvious what the type is.
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ConfigTag> 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", |
