mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
Move to C++20 for non-MSVC compilers
This commit is contained in:
parent
92c7566646
commit
d033d92b05
4 changed files with 4 additions and 4 deletions
|
@ -195,7 +195,7 @@ std::vector<std::string> GetCDDevices()
|
|||
{
|
||||
for (unsigned int j = checklist[i].num_min; j <= checklist[i].num_max; ++j)
|
||||
{
|
||||
std::string drive = fmt::format(checklist[i].format, j);
|
||||
std::string drive = fmt::format(fmt::runtime(checklist[i].format), j);
|
||||
if (IsCDROM(drive))
|
||||
{
|
||||
drives.push_back(std::move(drive));
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue