From 055767399abab0eff6f55acbf480e54fcd83f6bd Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 4 Nov 2026 18:59:40 -0600 Subject: Common/Logging/LogManager: Pass string_view instead of char* to give fmt string length awareness without having to perform strlen calls. --- Source/Core/AudioCommon/CubebUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/CubebUtils.cpp') diff --git a/Source/Core/AudioCommon/CubebUtils.cpp b/Source/Core/AudioCommon/CubebUtils.cpp index 0be4fdeb81..67a2c3a824 100644 --- a/Source/Core/AudioCommon/CubebUtils.cpp +++ b/Source/Core/AudioCommon/CubebUtils.cpp @@ -39,7 +39,7 @@ static void LogCallback(const char* format, ...) const std::string message = StringFromFormatV(adapted_format.c_str(), args); va_end(args); - instance->LogWithFullPath(log_level, log_type, filename, lineno, message.c_str()); + instance->LogWithFullPath(log_level, log_type, filename, lineno, message); } static void DestroyContext(cubeb* ctx) -- cgit v1.2.3