diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-06-08 20:52:34 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-08 20:52:34 +1000 |
| commit | ab66e91766f66110e8c4f4d0ba7ddac969e21fe7 (patch) | |
| tree | 95455982e61999710b548586b148d24d04027631 /Source/Core/DiscIO/VolumeFileBlobReader.cpp | |
| parent | bed2d66bedca7e9537d67d3e7a5506aee8717c8f (diff) | |
| parent | f25367a7a274c351da568e1ce1e09b95ae0f1a60 (diff) | |
Merge pull request #8134 from JosJuice/filesystem-string-view
DiscIO: Use std::string_view in FileSystem::FindFileInfo
Diffstat (limited to 'Source/Core/DiscIO/VolumeFileBlobReader.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeFileBlobReader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeFileBlobReader.cpp b/Source/Core/DiscIO/VolumeFileBlobReader.cpp index 0dd7ebf290..336fecad4c 100644 --- a/Source/Core/DiscIO/VolumeFileBlobReader.cpp +++ b/Source/Core/DiscIO/VolumeFileBlobReader.cpp @@ -4,6 +4,9 @@ #include "DiscIO/VolumeFileBlobReader.h" +#include <memory> +#include <string_view> + #include "DiscIO/Filesystem.h" #include "DiscIO/Volume.h" @@ -11,7 +14,7 @@ namespace DiscIO { std::unique_ptr<VolumeFileBlobReader> VolumeFileBlobReader::Create(const Volume& volume, const Partition& partition, - const std::string& file_path) + std::string_view file_path) { const FileSystem* file_system = volume.GetFileSystem(partition); if (!file_system) |
