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
+1 -1
View File
@@ -388,7 +388,7 @@ JS::Value VisualReplay::LoadReplayData(const Script::Interface& scriptInterface,
if (type != "start")
{
LOGWARNING("The replay %s doesn't begin with 'start'!", replayFile.string8().c_str());
LOGWARNING("The replay {} doesn't begin with 'start'!", replayFile.string8());
SAFE_DELETE(replayStream);
return JS::NullValue();
}