Merge tag 'v0.19.13'

release v0.19.13
This commit is contained in:
Max Kellermann
2016-02-23 22:13:43 +01:00
6 changed files with 23 additions and 4 deletions
+9 -1
View File
@@ -80,9 +80,17 @@ struct Tag {
Tag &operator=(Tag &&other) {
duration = other.duration;
has_playlist = other.has_playlist;
MoveItemsFrom(std::move(other));
return *this;
}
/**
* Similar to the move operator, but move only the #TagItem
* array.
*/
void MoveItemsFrom(Tag &&other) {
std::swap(items, other.items);
std::swap(num_items, other.num_items);
return *this;
}
/**