diff options
author | Max Kellermann <max@duempel.org> | 2014-01-20 08:57:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-20 08:57:46 +0100 |
commit | ab9c9068d4fa9b083daa17582987b846c6c985d4 (patch) | |
tree | b4f07b96874cee5c1a0b04b7746745b71f15d313 /src/PlaylistPrint.cxx | |
parent | 6b4d7d7315701945a6c34270a894879b068e5d8d (diff) | |
download | mpd-ab9c9068d4fa9b083daa17582987b846c6c985d4.tar.gz mpd-ab9c9068d4fa9b083daa17582987b846c6c985d4.tar.xz mpd-ab9c9068d4fa9b083daa17582987b846c6c985d4.zip |
Queue: rename struct queue to Queue
Works around a build failure on Solaris because annoyingly, Solaris
reserves the name "queue". This rename was pending anyway.
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistPrint.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistPrint.cxx b/src/PlaylistPrint.cxx index 8e3beaa47..e3d500be3 100644 --- a/src/PlaylistPrint.cxx +++ b/src/PlaylistPrint.cxx @@ -40,7 +40,7 @@ void playlist_print_uris(Client &client, const playlist &playlist) { - const queue &queue = playlist.queue; + const Queue &queue = playlist.queue; queue_print_uris(client, queue, 0, queue.GetLength()); } @@ -49,7 +49,7 @@ bool playlist_print_info(Client &client, const playlist &playlist, unsigned start, unsigned end) { - const queue &queue = playlist.queue; + const Queue &queue = playlist.queue; if (end > queue.GetLength()) /* correct the "end" offset */ |