mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
ams: convert to util::ConstructAt where appropriate
This commit is contained in:
parent
d84dcb653d
commit
c99ce36d7d
4 changed files with 7 additions and 12 deletions
|
@ -28,13 +28,13 @@ namespace ams::htcfs {
|
|||
void InitializeClient(htclow::HtclowManager *manager) {
|
||||
AMS_ASSERT(!g_initialized);
|
||||
|
||||
std::construct_at(GetPointer(g_client_storage), manager);
|
||||
util::ConstructAt(g_client_storage, manager);
|
||||
}
|
||||
|
||||
void FinalizeClient() {
|
||||
AMS_ASSERT(g_initialized);
|
||||
|
||||
std::destroy_at(GetPointer(g_client_storage));
|
||||
util::DestroyAt(g_client_storage);
|
||||
}
|
||||
|
||||
Client &GetClient() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue