aboutsummaryrefslogtreecommitdiffstats
path: root/src/Queue.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Queue.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Queue.hxx b/src/Queue.hxx
index 48ee69cc8..3c6001b4f 100644
--- a/src/Queue.hxx
+++ b/src/Queue.hxx
@@ -41,7 +41,7 @@ struct Song;
* - the unique id (which stays the same, regardless of moves)
* - the order number (which only differs from "position" in random mode)
*/
-struct queue {
+struct Queue {
/**
* reserve max_length * HASH_MULT elements in the id
* number space
@@ -103,16 +103,16 @@ struct queue {
/** random number generator for shuffle and random mode */
LazyRandomEngine rand;
- explicit queue(unsigned max_length);
+ explicit Queue(unsigned max_length);
/**
* Deinitializes a queue object. It does not free the queue
* pointer itself.
*/
- ~queue();
+ ~Queue();
- queue(const queue &other) = delete;
- queue &operator=(const queue &other) = delete;
+ Queue(const Queue &) = delete;
+ Queue &operator=(const Queue &) = delete;
unsigned GetLength() const {
assert(length <= max_length);