summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-11-04 18:59:40 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2026-11-08 13:08:09 -0600
commit055767399abab0eff6f55acbf480e54fcd83f6bd (patch)
tree3c9ffa237f5cad87887e5e4eebb9e87395135270 /Source/Core/AudioCommon
parentd02fc5f4bb1733a0cfd45ee00b4a8e3ff2a53ca3 (diff)
Common/Logging/LogManager: Pass string_view instead of char* to give fmt string length awareness without having to perform strlen calls.
Diffstat (limited to 'Source/Core/AudioCommon')
-rw-r--r--Source/Core/AudioCommon/CubebUtils.cpp2
1 files changed, 1 insertions, 1 deletions
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)