2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-23 21:22:07 +00:00

refactor: remove MemoryManager create method usages

This commit is contained in:
Jan
2025-01-13 22:03:20 +00:00
parent 62f1ac41c5
commit 4c09e94220
11 changed files with 13 additions and 89 deletions

View File

@@ -63,7 +63,7 @@ namespace
menuLoadQueue.pop_front();
}
auto* menuListAsset = m_memory.Create<MenuList>();
auto* menuListAsset = m_memory.Alloc<MenuList>();
menuListAsset->name = m_memory.Dup(assetName.c_str());
registration.SetAsset(menuListAsset);