summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeFileBlobReader.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-06-08 20:52:34 +1000
committerGitHub <noreply@github.com>2019-06-08 20:52:34 +1000
commitab66e91766f66110e8c4f4d0ba7ddac969e21fe7 (patch)
tree95455982e61999710b548586b148d24d04027631 /Source/Core/DiscIO/VolumeFileBlobReader.cpp
parentbed2d66bedca7e9537d67d3e7a5506aee8717c8f (diff)
parentf25367a7a274c351da568e1ce1e09b95ae0f1a60 (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.cpp5
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)