1
Fork 0

Fix build

https://github.com/LADI/giada/issues/1
This commit is contained in:
Nedko Arnaudov 2023-06-27 21:01:55 +03:00
parent fb7d435921
commit c446211bf8
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@ static void print(const char* format, Args&&... args)
if (mode == LOG_MODE_MUTE)
return;
if (mode == LOG_MODE_FILE && file.is_open())
fmt::print(file, format, args...);
fmt::print(file, fmt::runtime(format), args...);
else
fmt::print(format, args...);
fmt::print(fmt::runtime(format), args...);
}
} // namespace giada::u::log