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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user