| 24 | } |
| 25 | |
| 26 | LightSong |
| 27 | Queue::GetLight(unsigned position) const noexcept |
| 28 | { |
| 29 | assert(position < length); |
| 30 | |
| 31 | LightSong song{Get(position)}; |
| 32 | song.priority = GetPriorityAtPosition(position); |
| 33 | return song; |
| 34 | } |
| 35 | |
| 36 | int |
| 37 | Queue::GetNextOrder(unsigned _order) const noexcept |