mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-22 21:46:15 +02:00
Fix static analysis issues
This commit is contained in:
parent
03ce0ed2df
commit
17efc6799c
22 changed files with 56 additions and 62 deletions
|
@ -75,7 +75,7 @@ std::map<std::string, T> split_pairs_to_container(const std::string& s, char pai
|
|||
{
|
||||
std::map<std::string, T> result;
|
||||
auto keyValueList = split(s, pair_delim);
|
||||
for (auto& kv : keyValueList)
|
||||
for (const auto& kv : keyValueList)
|
||||
{
|
||||
auto pos = kv.find(key_value_delim);
|
||||
if (pos != std::string::npos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue