diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/file_sys/vfs_real.cpp | 5 |
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 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | #include <cstddef> | ||
| 6 | #include <iterator> | 7 | #include <iterator> |
| 7 | #include <utility> | 8 | #include <utility> |
| 8 | 9 | ||
| @@ -108,11 +109,11 @@ RealVfsDirectory::RealVfsDirectory(const std::string& path_, Mode perms_) | |||
| 108 | } | 109 | } |
| 109 | 110 | ||
| 110 | std::vector<std::shared_ptr<VfsFile>> RealVfsDirectory::GetFiles() const { | 111 | std::vector<std::shared_ptr<VfsFile>> RealVfsDirectory::GetFiles() const { |
| 111 | return std::vector<std::shared_ptr<VfsFile>>(files); | 112 | return files; |
| 112 | } | 113 | } |
| 113 | 114 | ||
| 114 | std::vector<std::shared_ptr<VfsDirectory>> RealVfsDirectory::GetSubdirectories() const { | 115 | std::vector<std::shared_ptr<VfsDirectory>> RealVfsDirectory::GetSubdirectories() const { |
| 115 | return std::vector<std::shared_ptr<VfsDirectory>>(subdirectories); | 116 | return subdirectories; |
| 116 | } | 117 | } |
| 117 | 118 | ||
| 118 | bool RealVfsDirectory::IsWritable() const { | 119 | bool RealVfsDirectory::IsWritable() const { |