mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 02:09:17 +00:00
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:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user