diff options
| author | JosJuice <josjuice@gmail.com> | 2019-05-29 08:16:12 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2019-05-29 08:29:56 +0200 |
| commit | d4b069f4580b1cde512861cb3bfd3930c3a1e909 (patch) | |
| tree | 8aa42bb9cda2e31c0d532b2324ca072ee39763e5 /Source/Core/DiscIO/VolumeFileBlobReader.h | |
| parent | 5fb56505b22f5050f6ae0d59c46b4b1450b0fc3d (diff) | |
DiscIO: Use std::string_view in FileSystem::FindFileInfo
...and in the functions that call it.
Diffstat (limited to 'Source/Core/DiscIO/VolumeFileBlobReader.h')
| -rw-r--r-- | Source/Core/DiscIO/VolumeFileBlobReader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeFileBlobReader.h b/Source/Core/DiscIO/VolumeFileBlobReader.h index 2696790829..bbc75d61b6 100644 --- a/Source/Core/DiscIO/VolumeFileBlobReader.h +++ b/Source/Core/DiscIO/VolumeFileBlobReader.h @@ -5,7 +5,7 @@ #pragma once #include <memory> -#include <string> +#include <string_view> #include "Common/CommonTypes.h" #include "DiscIO/Blob.h" @@ -20,7 +20,7 @@ class VolumeFileBlobReader final : public BlobReader { public: static std::unique_ptr<VolumeFileBlobReader> - Create(const Volume& volume, const Partition& partition, const std::string& file_path); + Create(const Volume& volume, const Partition& partition, std::string_view file_path); BlobType GetBlobType() const override { return BlobType::PLAIN; } u64 GetRawSize() const override; |
