summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFile.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2022-06-11 14:39:04 +0100
committerTillmann Karras <tilkax@gmail.com>2022-07-30 23:35:53 +0100
commitd033d92b0524c23e1274f07c9cbaa02ead770bbc (patch)
tree7fc438af03f65b226a5871a54edc23f36ac97667 /Source/Core/UICommon/GameFile.cpp
parent92c7566646924eb6e7501c98edaca2a37b1bedab (diff)
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)