output/Control: GetName() returns std::string&

This commit is contained in:
Max Kellermann
2022-07-13 11:31:46 +02:00
parent e74788ea32
commit 8a0ba7a725
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ AudioOutputControl::InternalDrain() noexcept
void
AudioOutputControl::Task() noexcept
{
FormatThreadName("output:%s", GetName());
FormatThreadName("output:%s", GetName().c_str());
try {
SetThreadRealtime();