chore: TCPSocket, use auto where possible

This commit is contained in:
sithlord48
2025-04-27 12:55:34 -04:00
committed by Nick Bolton
parent 0d3f7248ed
commit aac086ad2a

View File

@ -396,7 +396,7 @@ ISocketMultiplexerJob *TCPSocket::newJob()
void TCPSocket::sendConnectionFailedEvent(const char *msg)
{
ConnectionFailedInfo *info = new ConnectionFailedInfo(msg);
auto *info = new ConnectionFailedInfo(msg);
m_events->addEvent(Event(m_events->forIDataSocket().connectionFailed(), getEventTarget(), info, Event::kDontFreeData)
);
}