aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/vfs_real.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-06-11 23:53:23 -0400
committerLiam <byteslice@airmail.cc>2023-06-13 10:37:34 -0400
commit0e7eaaba5a170a935ca23e791f7b127646ff9464 (patch)
tree4594b30cadac1b7d5f9e60b226bee6a93fb02959 /src/core/file_sys/vfs_real.h
parentf25236a4d61351907cab4009b734ed01a0fd3dc8 (diff)
vfs_real: lazily open files
Diffstat (limited to 'src/core/file_sys/vfs_real.h')
-rw-r--r--src/core/file_sys/vfs_real.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/file_sys/vfs_real.h b/src/core/file_sys/vfs_real.h
index f29c69fbd..48dc2698a 100644
--- a/src/core/file_sys/vfs_real.h
+++ b/src/core/file_sys/vfs_real.h
@@ -15,8 +15,7 @@ class IOFile;
namespace FileSys {
struct FileReference : public Common::IntrusiveListBaseNode<FileReference> {
- FileReference(std::shared_ptr<Common::FS::IOFile>&& f) : file(f) {}
- std::shared_ptr<Common::FS::IOFile> file;
+ std::shared_ptr<Common::FS::IOFile> file{};
};
class RealVfsFile;