chore: TCPSocket, use auto where possible
This commit is contained in:
parent
0d3f7248ed
commit
aac086ad2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue