From d4b069f4580b1cde512861cb3bfd3930c3a1e909 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 29 May 2019 08:16:12 +0200 Subject: DiscIO: Use std::string_view in FileSystem::FindFileInfo ...and in the functions that call it. --- Source/Core/DiscIO/VolumeFileBlobReader.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/VolumeFileBlobReader.cpp') 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 +#include + #include "DiscIO/Filesystem.h" #include "DiscIO/Volume.h" @@ -11,7 +14,7 @@ namespace DiscIO { std::unique_ptr 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) -- cgit v1.2.3