summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeFileBlobReader.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-05-29 08:16:12 +0200
committerJosJuice <josjuice@gmail.com>2019-05-29 08:29:56 +0200
commitd4b069f4580b1cde512861cb3bfd3930c3a1e909 (patch)
tree8aa42bb9cda2e31c0d532b2324ca072ee39763e5 /Source/Core/DiscIO/VolumeFileBlobReader.cpp
parent5fb56505b22f5050f6ae0d59c46b4b1450b0fc3d (diff)
DiscIO: Use std::string_view in FileSystem::FindFileInfo
...and in the functions that call it.
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)