aboutsummaryrefslogtreecommitdiffstats
path: root/src/Queue.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-20 08:57:41 +0100
committerMax Kellermann <max@duempel.org>2014-01-20 08:57:41 +0100
commit6b4d7d7315701945a6c34270a894879b068e5d8d (patch)
tree508141972a23e5bec357870d88827742e1b8850a /src/Queue.hxx
parent313d1d5d8379ce8c0763f43775e767832942a7ef (diff)
downloadmpd-6b4d7d7315701945a6c34270a894879b068e5d8d.tar.gz
mpd-6b4d7d7315701945a6c34270a894879b068e5d8d.tar.xz
mpd-6b4d7d7315701945a6c34270a894879b068e5d8d.zip
Queue: make the constructor "explicit"
Diffstat (limited to '')
-rw-r--r--src/Queue.hxx2
1 files changed, 1 insertions, 1 deletions
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