From bc23a6bb05705d5551117528dfcbfcfedfee4c90 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Jan 2014 19:42:04 +0100 Subject: tag/TagBuilder: overload Commit() returning a Tag object --- src/input/CurlInputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input') 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; -- cgit v1.2.3