chore: TCPSocketFactory use default for deconstructor

This commit is contained in:
sithlord48 2025-05-01 11:20:49 -04:00 committed by Nick Bolton
parent e87c596fbe
commit b427ac91c2
2 changed files with 1 additions and 6 deletions

View file

@ -25,11 +25,6 @@ TCPSocketFactory::TCPSocketFactory(IEventQueue *events, SocketMultiplexer *socke
// do nothing // do nothing
} }
TCPSocketFactory::~TCPSocketFactory()
{
// do nothing
}
IDataSocket *TCPSocketFactory::create(IArchNetwork::EAddressFamily family, SecurityLevel securityLevel) const IDataSocket *TCPSocketFactory::create(IArchNetwork::EAddressFamily family, SecurityLevel securityLevel) const
{ {
if (securityLevel != SecurityLevel::PlainText) { if (securityLevel != SecurityLevel::PlainText) {

View file

@ -19,7 +19,7 @@ class TCPSocketFactory : public ISocketFactory
{ {
public: public:
TCPSocketFactory(IEventQueue *events, SocketMultiplexer *socketMultiplexer); TCPSocketFactory(IEventQueue *events, SocketMultiplexer *socketMultiplexer);
~TCPSocketFactory() override; ~TCPSocketFactory() override = default;
// ISocketFactory overrides // ISocketFactory overrides
IDataSocket *create( IDataSocket *create(