threads: use explicit constructors where possible
This commit is contained in:
parent
ff2ca6982c
commit
ad2f3261de
@ -22,7 +22,7 @@
|
||||
namespace util { namespace threads {
|
||||
class barrier {
|
||||
public:
|
||||
barrier (unsigned count);
|
||||
explicit barrier (unsigned count);
|
||||
~barrier ();
|
||||
|
||||
void wait (void);
|
||||
|
@ -22,7 +22,7 @@
|
||||
namespace util { namespace threads {
|
||||
class semaphore {
|
||||
public:
|
||||
semaphore (unsigned value = 0);
|
||||
explicit semaphore (unsigned value = 0);
|
||||
~semaphore ();
|
||||
|
||||
void wait (void);
|
||||
|
Loading…
Reference in New Issue
Block a user