CDvdFile: Use auto for string_view::begin

This commit is contained in:
Luke Street 2020-04-17 14:52:25 -04:00
parent 4a8f077d92
commit 36bbc5004f
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ std::shared_ptr<IDvdRequest> CDvdFile::AsyncSeekRead(void* buf, u32 len, ESeekOr
} }
hecl::ProjectPath CDvdFile::ResolvePath(std::string_view path) { hecl::ProjectPath CDvdFile::ResolvePath(std::string_view path) {
const char* start = path.begin(); const auto* start = path.begin();
while (*start == '/') { while (*start == '/') {
++start; ++start;
} }