Merge pull request #10740 from Tilka/cxx20

Move to C++20 for non-MSVC compilers
This commit is contained in:
Mai
2022-08-04 09:31:31 -04:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@ -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));