aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-20 08:57:22 +0100
committerMax Kellermann <max@duempel.org>2014-01-20 08:57:46 +0100
commitab9c9068d4fa9b083daa17582987b846c6c985d4 (patch)
treeb4f07b96874cee5c1a0b04b7746745b71f15d313 /test
parent6b4d7d7315701945a6c34270a894879b068e5d8d (diff)
downloadmpd-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 'test')
-rw-r--r--test/test_queue_priority.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_queue_priority.cxx b/test/test_queue_priority.cxx
index a1037798c..fca18fc2d 100644
--- a/test/test_queue_priority.cxx
+++ b/test/test_queue_priority.cxx
@@ -26,7 +26,7 @@ Song::Free()
}
static void
-check_descending_priority(const struct queue *queue,
+check_descending_priority(const Queue *queue,
unsigned start_order)
{
assert(start_order < queue->GetLength());
@@ -55,7 +55,7 @@ QueuePriorityTest::TestPriority()
{
static Song songs[16];
- struct queue queue(32);
+ Queue queue(32);
for (unsigned i = 0; i < ARRAY_SIZE(songs); ++i)
queue.Append(&songs[i], 0);