mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
StringUtil: Use std::string_view more
This commit is contained in:
parent
29ba53f6c3
commit
a2a1e04fc9
13 changed files with 92 additions and 83 deletions
|
@ -26,7 +26,7 @@ static void LogCallback(const char* format, ...)
|
|||
|
||||
const char* filename = va_arg(args, const char*) + s_path_cutoff_point;
|
||||
int lineno = va_arg(args, int);
|
||||
std::string adapted_format = StripSpaces(format + strlen("%s:%d:"));
|
||||
std::string adapted_format(StripSpaces(format + strlen("%s:%d:")));
|
||||
|
||||
LogManager::GetInstance()->LogWithFullPath(LogTypes::LNOTICE, LogTypes::AUDIO, filename, lineno,
|
||||
adapted_format.c_str(), args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue