summaryrefslogtreecommitdiff
path: root/src/DetachedSong.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-02-23 22:13:43 +0100
committerMax Kellermann <max@duempel.org>2016-02-23 22:13:43 +0100
commit6350089e5189d80aa80443be1b597b074e41d11c (patch)
treeca7490776e071aab0b751d6202dacdb73051cf1a /src/DetachedSong.hxx
parent8e5a67ed9fd6f556cfcc6f13349a2549d1b02249 (diff)
parent79f2f8cddce56cf986d3914bb46a790486457a64 (diff)
Merge tag 'v0.19.13'
release v0.19.13
Diffstat (limited to 'src/DetachedSong.hxx')
-rw-r--r--src/DetachedSong.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx
index 844283dcf..52ea19926 100644
--- a/src/DetachedSong.hxx
+++ b/src/DetachedSong.hxx
@@ -188,6 +188,14 @@ public:
tag = std::move(other.tag);
}
+ /**
+ * Similar to the MoveTagFrom(), but move only the #TagItem
+ * array.
+ */
+ void MoveTagItemsFrom(DetachedSong &&other) {
+ tag.MoveItemsFrom(std::move(other.tag));
+ }
+
time_t GetLastModified() const {
return mtime;
}