mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 21:41:01 +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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user