ams: convert to util::ConstructAt where appropriate

This commit is contained in:
Michael Scire
2021-03-21 20:36:49 -07:00
parent d84dcb653d
commit c99ce36d7d
4 changed files with 7 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ namespace ams::htclow::mux {
R_UNLESS(idx < MaxChannelCount, htclow::ResultOutOfChannel());
/* Create the channel impl. */
std::construct_at(GetPointer(m_channel_storage[idx]), channel, m_packet_factory, m_state_machine, m_task_manager, m_event);
util::ConstructAt(m_channel_storage[idx], channel, m_packet_factory, m_state_machine, m_task_manager, m_event);
/* Mark the storage valid. */
m_storage_valid[idx] = true;