mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DiscIO: Use std::string_view in FileSystem::FindFileInfo
...and in the functions that call it.
This commit is contained in:
parent
5fb56505b2
commit
d4b069f458
8 changed files with 35 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue