job/queue: make single argument constructor explicit

This commit is contained in:
Danny Robson 2017-08-24 17:53:27 +10:00
parent 07d74187c5
commit 8f6af0f837

View File

@ -32,7 +32,7 @@ namespace util::job {
class queue {
public:
queue ();
queue (unsigned thread_count);
explicit queue (unsigned thread_count);
~queue ();
using cookie = int;