Queue: make the constructor "explicit"
This commit is contained in:
parent
313d1d5d83
commit
6b4d7d7315
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue