From ab9c9068d4fa9b083daa17582987b846c6c985d4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Jan 2014 08:57:22 +0100 Subject: 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. --- test/test_queue_priority.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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); -- cgit v1.2.3