Use fmt::format for LOGWARNING

The format string can be checked at compile time. It will be easier to
transition to `std::format`.
This commit is contained in:
phosit
2026-09-03 15:33:30 +02:00
parent d686708c92
commit ba158aa3ff
42 changed files with 160 additions and 90 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ bool LoadModJSON(const PIVFS& vfs, OsPath modsPath, OsPath mod, std::string& tex
else
{
// Print a warning - we'll keep trying, which could have adverse effects.
LOGWARNING("Could not write external mod.json for zipped mod '%s'. The mod should be reinstalled.", mod.string8());
LOGWARNING("Could not write external mod.json for zipped mod '{}'. The mod should be "
"reinstalled.", mod.string8());
}
return true;
}