diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2019-05-29 15:32:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-29 15:32:18 +0200 |
| commit | 80d8173d29749b13ccdf84e75641e179ea34768b (patch) | |
| tree | 571de5aa6317916db6d68bb770c5457ba875b219 /Source/Core/UICommon/GameFile.cpp | |
| parent | 3c012ca31e9289212b2c34c3f57da8f0f60f3d1a (diff) | |
| parent | 734667998647e21b8ffec9a6ec4e32253af1a9d5 (diff) | |
Merge pull request #8132 from lioncash/string
Common/FileUtil: Use std::string_view with WriteStringToFile
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 4e5ad6f9c2..fb8c3d0a67 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -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() |
