mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-16 08:33:50 +00:00
refactor: remove MemoryManager create method usages
This commit is contained in:
11 files changed
+13
-89
No files matched your search
@@ -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