mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
ams: remove TYPED_STORAGE() macro in favor of template
This commit is contained in:
parent
8d9174b227
commit
aff0da9427
31 changed files with 55 additions and 57 deletions
|
@ -260,9 +260,9 @@ namespace ams::sf::hipc {
|
|||
private:
|
||||
/* Resource storage. */
|
||||
os::Mutex resource_mutex;
|
||||
TYPED_STORAGE(Server) server_storages[MaxServers];
|
||||
util::TypedStorage<Server> server_storages[MaxServers];
|
||||
bool server_allocated[MaxServers];
|
||||
TYPED_STORAGE(ServerSession) session_storages[MaxSessions];
|
||||
util::TypedStorage<ServerSession> session_storages[MaxSessions];
|
||||
bool session_allocated[MaxSessions];
|
||||
u8 pointer_buffer_storage[0x10 + (MaxSessions * ManagerOptions::PointerBufferSize)];
|
||||
u8 saved_message_storage[0x10 + (MaxSessions * hipc::TlsMessageBufferSize)];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue