Commit 6b4d7d73 authored by Max Kellermann's avatar Max Kellermann

Queue: make the constructor "explicit"

parent 313d1d5d
......@@ -103,7 +103,7 @@ struct queue {
/** random number generator for shuffle and random mode */
LazyRandomEngine rand;
queue(unsigned max_length);
explicit queue(unsigned max_length);
/**
* Deinitializes a queue object. It does not free the queue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment