Merge branch 'struc' of git://github.com/neheb/MPD

This commit is contained in:
Max Kellermann
2021-03-04 17:50:53 +01:00
15 changed files with 49 additions and 61 deletions

View File

@@ -31,6 +31,6 @@ sticker_print_value(Response &r,
void
sticker_print(Response &r, const Sticker &sticker)
{
for (const auto &i : sticker.table)
sticker_print_value(r, i.first.c_str(), i.second.c_str());
for (const auto &[name, val] : sticker.table)
sticker_print_value(r, name.c_str(), val.c_str());
}