ams: convert to util::ConstructAt where appropriate
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user