summaryrefslogtreecommitdiff
path: root/Source/Core/Common/CDUtils.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/Common/CDUtils.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/Common/CDUtils.cpp')
-rw-r--r--Source/Core/Common/CDUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/CDUtils.cpp b/Source/Core/Common/CDUtils.cpp
index 630f5d943d..d17b3d4ab3 100644
--- a/Source/Core/Common/CDUtils.cpp
+++ b/Source/Core/Common/CDUtils.cpp
@@ -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));