2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-03 19:43:04 +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

@@ -26,7 +26,7 @@ namespace string_table
public:
StringTableType* LoadFromStream(const std::string& assetName, MemoryManager& memory, std::istream& stream)
{
auto* stringTable = memory.Create<StringTableType>();
auto* stringTable = memory.Alloc<StringTableType>();
stringTable->name = memory.Dup(assetName.c_str());
std::vector<std::vector<std::string>> csvLines;