output/Control: inline GetName()
This commit is contained in:
parent
fef79931c5
commit
e74788ea32
|
@ -99,12 +99,6 @@ AudioOutputControl::ReplaceDummy(std::unique_ptr<FilteredAudioOutput> new_output
|
|||
client.ApplyEnabled();
|
||||
}
|
||||
|
||||
const char *
|
||||
AudioOutputControl::GetName() const noexcept
|
||||
{
|
||||
return name.c_str();
|
||||
}
|
||||
|
||||
const char *
|
||||
AudioOutputControl::GetPluginName() const noexcept
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue