diff --git a/include/fs/archive_base.hpp b/include/fs/archive_base.hpp index b80154b0..c3ce9511 100644 --- a/include/fs/archive_base.hpp +++ b/include/fs/archive_base.hpp @@ -107,7 +107,7 @@ struct ArchiveSession { FSPath path; bool isOpen; - ArchiveSession(ArchiveBase* archive, const FSPath& filePath, bool isOpen = true) : archive(archive), path(path), isOpen(isOpen) {} + ArchiveSession(ArchiveBase* archive, const FSPath& filePath, bool isOpen = true) : archive(archive), path(filePath), isOpen(isOpen) {} }; // Represents a file descriptor obtained from OpenFile. If the optional is nullopt, opening the file failed.