From f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 31 Jul 2021 18:16:57 +0100 Subject: Explicit semaphore constructor --- test/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/semaphore.h') 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 class semaphore { public: - semaphore(unsigned int v_); + explicit semaphore(unsigned int v_); void release(unsigned int n = 1); -- cgit v1.2.3