Codechange: Use EnumBitSet for pool types

This commit is contained in:
Rubidium
2025-02-01 13:30:03 +01:00
committed by rubidium42
parent c4c5028862
commit 89d0a688a9
9 changed files with 20 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ extern AdminID _redirect_console_to_admin;
class ServerNetworkAdminSocketHandler;
/** Pool with all admin connections. */
typedef Pool<ServerNetworkAdminSocketHandler, AdminID, 2, 16, PT_NADMIN> NetworkAdminSocketPool;
using NetworkAdminSocketPool = Pool<ServerNetworkAdminSocketHandler, AdminID, 2, 16, PoolType::NetworkAdmin>;
extern NetworkAdminSocketPool _networkadminsocket_pool;
/** Class for handling the server side of the game connection. */