aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagBuilder.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-03 11:27:16 +0100
committerMax Kellermann <max@duempel.org>2013-12-03 11:46:24 +0100
commit7e8d254b95716f1253577a9a5d7df1760f9f6e47 (patch)
tree9d22bb8d6d3e1e1b064fca93397d945836e901ab /src/tag/TagBuilder.hxx
parent6325c3f14a4dd1442d69dc5716b33c9d5b410164 (diff)
downloadmpd-7e8d254b95716f1253577a9a5d7df1760f9f6e47.tar.gz
mpd-7e8d254b95716f1253577a9a5d7df1760f9f6e47.tar.xz
mpd-7e8d254b95716f1253577a9a5d7df1760f9f6e47.zip
Tag: move code from Merge() to TagBuilder::Complement()
Diffstat (limited to 'src/tag/TagBuilder.hxx')
-rw-r--r--src/tag/TagBuilder.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tag/TagBuilder.hxx b/src/tag/TagBuilder.hxx
index 5804a7940..52ccf466c 100644
--- a/src/tag/TagBuilder.hxx
+++ b/src/tag/TagBuilder.hxx
@@ -119,6 +119,12 @@ public:
bool HasType(TagType type) const;
/**
+ * Copy attributes and items from the other object that do not
+ * exist in this object.
+ */
+ void Complement(const Tag &other);
+
+ /**
* Appends a new tag item.
*
* @param type the type of the new tag item