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 { class queue {
public: public:
queue (); queue ();
queue (unsigned thread_count); explicit queue (unsigned thread_count);
~queue (); ~queue ();
using cookie = int; using cookie = int;