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

@@ -13,7 +13,7 @@
#include "network_internal.h"
/** Class for handling the client side of quering a game server. */
class QueryNetworkGameSocketHandler : public ZeroedMemoryAllocator, public NetworkGameSocketHandler {
class QueryNetworkGameSocketHandler : public NetworkGameSocketHandler {
private:
static std::vector<std::unique_ptr<QueryNetworkGameSocketHandler>> queries; ///< Pending queries.
std::string connection_string; ///< Address we are connected to.