From d033d92b0524c23e1274f07c9cbaa02ead770bbc Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sat, 11 Jun 2022 14:39:04 +0100 Subject: Move to C++20 for non-MSVC compilers --- Source/Core/Common/CDUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/CDUtils.cpp') 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 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)); -- cgit v1.2.3