queue/Queue: MoveOrder() returns to_order

This commit is contained in:
Max Kellermann
2017-10-18 08:46:31 +02:00
parent fa67c2548a
commit 81b7373637
3 changed files with 6 additions and 4 deletions

View File

@@ -284,8 +284,10 @@ struct Queue {
/**
* Moves a song to a new position in the "order" list.
*
* @return to_order
*/
void MoveOrder(unsigned from_order, unsigned to_order) noexcept;
unsigned MoveOrder(unsigned from_order, unsigned to_order) noexcept;
/**
* Moves a song to a new position.