aboutsummaryrefslogtreecommitdiffstats
path: root/src/QueuePrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/QueuePrint.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/QueuePrint.cxx b/src/QueuePrint.cxx
index d5651cde0..ab00331b0 100644
--- a/src/QueuePrint.cxx
+++ b/src/QueuePrint.cxx
@@ -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);