aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/CurlInputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-08 19:42:04 +0100
committerMax Kellermann <max@duempel.org>2014-01-08 19:49:08 +0100
commitbc23a6bb05705d5551117528dfcbfcfedfee4c90 (patch)
tree2283d2440ffa1bf6313c41ecaa59808032390769 /src/input/CurlInputPlugin.cxx
parentac1983eae32caa7c6f10ec4bab32a9657bdb2668 (diff)
downloadmpd-bc23a6bb05705d5551117528dfcbfcfedfee4c90.tar.gz
mpd-bc23a6bb05705d5551117528dfcbfcfedfee4c90.tar.xz
mpd-bc23a6bb05705d5551117528dfcbfcfedfee4c90.zip
tag/TagBuilder: overload Commit() returning a Tag object
Diffstat (limited to 'src/input/CurlInputPlugin.cxx')
-rw-r--r--src/input/CurlInputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx
index 0318d5a5f..b74dc12a9 100644
--- a/src/input/CurlInputPlugin.cxx
+++ b/src/input/CurlInputPlugin.cxx
@@ -782,7 +782,7 @@ copy_icy_tag(struct input_curl *c)
if (!c->meta_name.empty() && !tag->HasType(TAG_NAME)) {
TagBuilder tag_builder(std::move(*tag));
tag_builder.AddItem(TAG_NAME, c->meta_name.c_str());
- tag_builder.Commit(*tag);
+ *tag = tag_builder.Commit();
}
c->tag = tag;