diff --git a/src/output/Control.cxx b/src/output/Control.cxx index 8b62206ee..8827ce122 100644 --- a/src/output/Control.cxx +++ b/src/output/Control.cxx @@ -99,12 +99,6 @@ AudioOutputControl::ReplaceDummy(std::unique_ptr new_output client.ApplyEnabled(); } -const char * -AudioOutputControl::GetName() const noexcept -{ - return name.c_str(); -} - const char * AudioOutputControl::GetPluginName() const noexcept { diff --git a/src/output/Control.hxx b/src/output/Control.hxx index 8f3b5fa6e..4d699fb3b 100644 --- a/src/output/Control.hxx +++ b/src/output/Control.hxx @@ -269,7 +269,9 @@ public: AudioOutputControl &operator=(const AudioOutputControl &) = delete; [[gnu::pure]] - const char *GetName() const noexcept; + const char *GetName() const noexcept { + return name.c_str(); + } [[gnu::pure]] const char *GetPluginName() const noexcept;