From 6b4d7d7315701945a6c34270a894879b068e5d8d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Jan 2014 08:57:41 +0100 Subject: [PATCH] Queue: make the constructor "explicit" --- src/Queue.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Queue.hxx b/src/Queue.hxx index da90d4a3d..48ee69cc8 100644 --- a/src/Queue.hxx +++ b/src/Queue.hxx @@ -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