chore: TCPSocketFactory, use auto where possible
This commit is contained in:
parent
aac086ad2a
commit
02b2b82c7f
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ TCPSocketFactory::~TCPSocketFactory()
|
|||
IDataSocket *TCPSocketFactory::create(IArchNetwork::EAddressFamily family, SecurityLevel securityLevel) const
|
||||
{
|
||||
if (securityLevel != SecurityLevel::PlainText) {
|
||||
SecureSocket *secureSocket = new SecureSocket(m_events, m_socketMultiplexer, family, securityLevel);
|
||||
auto *secureSocket = new SecureSocket(m_events, m_socketMultiplexer, family, securityLevel);
|
||||
secureSocket->initSsl(false);
|
||||
return secureSocket;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue