summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_vector.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-12 22:37:38 +0200
committerLioncash <mathew1800@gmail.com>2018-08-12 22:55:40 +0200
commitcf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a (patch)
treec217767ae3450b79127a6768b582a08211b2d3a9 /src/core/file_sys/vfs_vector.h
parentMerge pull request #1025 from ogniK5377/bad-cast (diff)
downloadyuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.tar
yuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.tar.gz
yuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.tar.bz2
yuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.tar.lz
yuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.tar.xz
yuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.tar.zst
yuzu-cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a.zip
Diffstat (limited to 'src/core/file_sys/vfs_vector.h')
-rw-r--r--src/core/file_sys/vfs_vector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_vector.h b/src/core/file_sys/vfs_vector.h
index ba469647b..b3b468233 100644
--- a/src/core/file_sys/vfs_vector.h
+++ b/src/core/file_sys/vfs_vector.h
@@ -10,7 +10,8 @@ namespace FileSys {
// An implementation of VfsDirectory that maintains two vectors for subdirectories and files.
// Vector data is supplied upon construction.
-struct VectorVfsDirectory : public VfsDirectory {
+class VectorVfsDirectory : public VfsDirectory {
+public:
explicit VectorVfsDirectory(std::vector<VirtualFile> files = {},
std::vector<VirtualDir> dirs = {}, VirtualDir parent = nullptr,
std::string name = "");