fs/Path: add method ToUTF8Throw()

This commit is contained in:
Max Kellermann
2018-07-18 16:30:46 +02:00
parent f87265a4d5
commit 32290d5eb8
10 changed files with 43 additions and 29 deletions

View File

@@ -72,7 +72,7 @@ OpenFileInputStream(Path path, Mutex &mutex)
#endif
#endif
return std::make_unique<FileInputStream>(path.ToUTF8().c_str(),
return std::make_unique<FileInputStream>(path.ToUTF8Throw().c_str(),
std::move(reader), info.GetSize(),
mutex);
}