summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/semaphore.h b/test/semaphore.h
index f2e9355..6a5963f 100644
--- a/test/semaphore.h
+++ b/test/semaphore.h
@@ -11,7 +11,7 @@ using semaphore = std::binary_semaphore;
# include <mutex>
class semaphore {
public:
- semaphore(unsigned int v_);
+ explicit semaphore(unsigned int v_);
void release(unsigned int n = 1);