mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Common/Log: Check format strings
Helps with catching incorrect format strings. PanicAlertFmt already uses FMT_STRING and fmt::make_args_checked.
This commit is contained in:
parent
7e9a2dcc72
commit
47c91696ee
2 changed files with 9 additions and 8 deletions
|
@ -81,7 +81,7 @@ void GenericLog(LOG_LEVELS level, LOG_TYPE type, const char* file, int line, con
|
|||
}
|
||||
|
||||
void GenericLogFmtImpl(LOG_LEVELS level, LOG_TYPE type, const char* file, int line,
|
||||
std::string_view format, const fmt::format_args& args)
|
||||
fmt::string_view format, const fmt::format_args& args)
|
||||
{
|
||||
auto* instance = LogManager::GetInstance();
|
||||
if (instance == nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue