summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-21 04:30:20 +0200
committerLioncash <mathew1800@gmail.com>2018-07-21 04:30:22 +0200
commitb46c0ed1fa07698297d5cf645b97a1978092868d (patch)
treeae58cf355582de44ae680687df12c766ca1a9d79
parentpartition_filesystem, vfs_real: Add missing standard includes (diff)
downloadyuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.tar
yuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.tar.gz
yuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.tar.bz2
yuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.tar.lz
yuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.tar.xz
yuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.tar.zst
yuzu-b46c0ed1fa07698297d5cf645b97a1978092868d.zip
-rw-r--r--src/core/file_sys/vfs_real.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/file_sys/vfs_real.cpp b/src/core/file_sys/vfs_real.cpp
index 8df6e97ef..f27fb1f2a 100644
--- a/src/core/file_sys/vfs_real.cpp
+++ b/src/core/file_sys/vfs_real.cpp
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <algorithm>
+#include <cstddef>
#include <iterator>
#include <utility>
@@ -108,11 +109,11 @@ RealVfsDirectory::RealVfsDirectory(const std::string& path_, Mode perms_)
}
std::vector<std::shared_ptr<VfsFile>> RealVfsDirectory::GetFiles() const {
- return std::vector<std::shared_ptr<VfsFile>>(files);
+ return files;
}
std::vector<std::shared_ptr<VfsDirectory>> RealVfsDirectory::GetSubdirectories() const {
- return std::vector<std::shared_ptr<VfsDirectory>>(subdirectories);
+ return subdirectories;
}
bool RealVfsDirectory::IsWritable() const {