remove redundant const qualification

Found with readability-const-return-type

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-02-02 14:13:36 -08:00
parent 140d8547c7
commit 1923cf3844
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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);