summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-08-09 23:39:01 +1000
committerGitHub <noreply@github.com>2019-08-09 23:39:01 +1000
commit48ca2c6f2e70111cf72052d5d258328c2fdb9afd (patch)
tree9d69b41773993fb46b53fea45377b85136b6014c /Source/Core/AudioCommon
parent0ab7e2eed78731db4b0b2c48f35f85d3a6722272 (diff)
parent117a60ceb271594a659392892de2cd1a957bef48 (diff)
Merge pull request #8233 from JosJuice/stringutil-string-view
StringUtil: Use std::string_view more
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 07f4f530d6..5eaaaf62cd 100644
--- a/Source/Core/AudioCommon/CubebUtils.cpp
+++ b/Source/Core/AudioCommon/CubebUtils.cpp
@@ -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);