diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx index 021b5de29..0d1393fbf 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; }