Fixed compilation of MemoryFileSystem if MIJIN_DEFAULT_ALLOCATOR is not copy-constructible.

This commit is contained in:
Patrick 2025-07-06 12:37:45 +02:00
parent 888b0a16f7
commit 59780ed6de

View File

@ -21,8 +21,8 @@ struct MemoryFile
}; };
struct MemoryFolder struct MemoryFolder
{ {
VectorMap<std::string, MemoryFile> files; VectorMap<std::string, MemoryFile, std::allocator<std::string>, std::allocator<MemoryFile>> files; // TODO: make the FS library allocator aware
VectorMap<std::string, MemoryFolder> folders; VectorMap<std::string, MemoryFolder, std::allocator<std::string>, std::allocator<MemoryFolder>> folders;
}; };
} }