Merge pull request #8132 from lioncash/string

Common/FileUtil: Use std::string_view with WriteStringToFile
This commit is contained in:
Léo Lam
2019-05-29 15:32:18 +02:00
committed by GitHub
6 changed files with 15 additions and 14 deletions

View File

@ -265,7 +265,7 @@ void GameFile::DownloadDefaultCover()
if (!response)
return;
File::WriteStringToFile(std::string(response->begin(), response->end()), png_path);
File::WriteStringToFile(png_path, std::string(response->begin(), response->end()));
}
bool GameFile::DefaultCoverChanged()