diff options
Diffstat (limited to 'src/QueuePrint.cxx')
-rw-r--r-- | src/QueuePrint.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/QueuePrint.cxx b/src/QueuePrint.cxx index d5651cde0..d79d31a15 100644 --- a/src/QueuePrint.cxx +++ b/src/QueuePrint.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -22,13 +22,8 @@ #include "Queue.hxx" #include "SongFilter.hxx" #include "SongPrint.hxx" -#include "Mapper.hxx" #include "Client.hxx" -extern "C" { -#include "Song.hxx" -} - /** * Send detailed information about a range of songs in the queue to a * client. @@ -99,7 +94,7 @@ queue_find(Client &client, const queue &queue, const SongFilter &filter) { for (unsigned i = 0; i < queue.GetLength(); i++) { - const Song &song = queue.Get(i); + const DetachedSong &song = queue.Get(i); if (filter.Match(song)) queue_print_song_info(client, queue, i); |