string_view refactor

This commit is contained in:
Jack Andersen
2017-11-12 20:18:53 -10:00
parent c374038103
commit 27a2cb5998
18 changed files with 209 additions and 222 deletions

View File

@@ -87,7 +87,7 @@ class DiscIOWBFS : public IDiscIO
}
public:
DiscIOWBFS(const SystemString& fpin)
DiscIOWBFS(SystemStringView fpin)
: filepath(fpin)
{
/* Temporary file handle to read LBA table */
@@ -296,7 +296,7 @@ public:
}
};
std::unique_ptr<IDiscIO> NewDiscIOWBFS(const SystemChar* path)
std::unique_ptr<IDiscIO> NewDiscIOWBFS(SystemStringView path)
{
return std::unique_ptr<IDiscIO>(new DiscIOWBFS(path));
}