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 /test/test_queue_priority.cxx | |
parent | 6b4d7d7315701945a6c34270a894879b068e5d8d (diff) |
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/test_queue_priority.cxx')
-rw-r--r-- | test/test_queue_priority.cxx | 4 |
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); |