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/QueueSave.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/QueueSave.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QueueSave.cxx b/src/QueueSave.cxx index 6a1a51992..2ab5f6280 100644 --- a/src/QueueSave.cxx +++ b/src/QueueSave.cxx @@ -60,7 +60,7 @@ queue_save_song(FILE *fp, int idx, const Song &song) } void -queue_save(FILE *fp, const queue &queue) +queue_save(FILE *fp, const Queue &queue) { for (unsigned i = 0; i < queue.GetLength(); i++) { uint8_t prio = queue.GetPriorityAtPosition(i); @@ -72,7 +72,7 @@ queue_save(FILE *fp, const queue &queue) } void -queue_load_song(TextFile &file, const char *line, queue &queue) +queue_load_song(TextFile &file, const char *line, Queue &queue) { if (queue.IsFull()) return; |