remove redundant const qualification
Found with readability-const-return-type Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -228,7 +228,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
const std::map<std::string, std::string> GetAttributes() const noexcept override;
|
||||
std::map<std::string, std::string> GetAttributes() const noexcept override;
|
||||
void SetAttribute(std::string &&name, std::string &&value) override;
|
||||
|
||||
void Enable() override;
|
||||
@@ -427,7 +427,7 @@ AlsaOutput::AlsaOutput(EventLoop &_loop, const ConfigBlock &block)
|
||||
allowed_formats = Alsa::AllowedFormat::ParseList(allowed_formats_string);
|
||||
}
|
||||
|
||||
const std::map<std::string, std::string>
|
||||
std::map<std::string, std::string>
|
||||
AlsaOutput::GetAttributes() const noexcept
|
||||
{
|
||||
const std::lock_guard<Mutex> lock(attributes_mutex);
|
||||
|
||||
Reference in New Issue
Block a user