diff options
author | Max Kellermann <max@duempel.org> | 2014-01-20 08:57:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-20 08:57:41 +0100 |
commit | 6b4d7d7315701945a6c34270a894879b068e5d8d (patch) | |
tree | 508141972a23e5bec357870d88827742e1b8850a /src | |
parent | 313d1d5d8379ce8c0763f43775e767832942a7ef (diff) | |
download | mpd-6b4d7d7315701945a6c34270a894879b068e5d8d.tar.gz mpd-6b4d7d7315701945a6c34270a894879b068e5d8d.tar.xz mpd-6b4d7d7315701945a6c34270a894879b068e5d8d.zip |
Queue: make the constructor "explicit"
Diffstat (limited to 'src')
-rw-r--r-- | src/Queue.hxx | 2 |
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 |