Codechange: Remove ZeroedMemoryAllocator from network socket handlers. (#13377)

Prefer member default initialisation instead.
This commit is contained in:
Peter Nelson
2025-01-28 19:10:00 +00:00
committed by GitHub
parent 4099acb946
commit 77f4d776c4
14 changed files with 43 additions and 60 deletions

View File

@@ -16,16 +16,6 @@
#include "../../safeguards.h"
/**
* Construct a socket handler for a TCP connection.
* @param s The just opened TCP connection.
*/
NetworkTCPSocketHandler::NetworkTCPSocketHandler(SOCKET s) :
NetworkSocketHandler(),
sock(s), writable(false)
{
}
NetworkTCPSocketHandler::~NetworkTCPSocketHandler()
{
this->CloseSocket();