diff options
Diffstat (limited to 'src/output/Print.cxx')
-rw-r--r-- | src/output/Print.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/output/Print.cxx b/src/output/Print.cxx index f649bfb52..9f8edf193 100644 --- a/src/output/Print.cxx +++ b/src/output/Print.cxx @@ -40,8 +40,7 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs) ao.GetName(), ao.GetPluginName(), ao.IsEnabled()); - for (const auto &a : ao.GetAttributes()) - r.Format("attribute: %s=%s\n", - a.first.c_str(), a.second.c_str()); + for (const auto &[attribute, value] : ao.GetAttributes()) + r.Format("attribute: %s=%s\n", attribute.c_str(), value.c_str()); } } |