mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 12:29:13 +00:00
Use fmt::format for LOGERROR
The format string can be checked at compile time. It will be easier to transition to `std::format`.
This commit is contained in:
115 files changed
+631
-454
No files matched your search
+1
-1
@@ -205,7 +205,7 @@ const std::vector<const Mod::ModData*> Mod::GetEnabledModsData() const
|
||||
// This ought be impossible, but let's handle it anyways since it's not a reason to crash.
|
||||
if (!data)
|
||||
{
|
||||
LOGERROR("Unavailable mod '%s' was enabled.", mod);
|
||||
LOGERROR("Unavailable mod '{}' was enabled.", mod);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user