summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFile.cpp
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-08-04 09:31:31 -0400
committerGitHub <noreply@github.com>2022-08-04 09:31:31 -0400
commitf59f1a2a35afe18e1c01ae5b41c689659a0b00f1 (patch)
tree7ec47bfe875d7c6d4bb20b6cbf3e2c64596ceb6f /Source/Core/UICommon/GameFile.cpp
parent3ad6e3abc2e6f19124a620db7e08da233d9d360b (diff)
parentd033d92b0524c23e1274f07c9cbaa02ead770bbc (diff)
Merge pull request #10740 from Tilka/cxx20
Move to C++20 for non-MSVC compilers
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
-rw-r--r--Source/Core/UICommon/GameFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp
index 6e33f480e0..e605f987eb 100644
--- a/Source/Core/UICommon/GameFile.cpp
+++ b/Source/Core/UICommon/GameFile.cpp
@@ -291,7 +291,7 @@ void GameFile::DownloadDefaultCover()
}
Common::HttpRequest request;
- constexpr char cover_url[] = "https://art.gametdb.com/wii/cover/{}/{}.png";
+ static constexpr char cover_url[] = "https://art.gametdb.com/wii/cover/{}/{}.png";
const auto response = request.Get(fmt::format(cover_url, region_code, m_gametdb_id));
if (!response)