summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-07-31 18:16:57 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-07-31 18:16:57 +0100
commitf374d20cedfc3bcd8ee2bbfa5469d929e7e84af9 (patch)
treef9cd08de5605d6bc3120f5e9594c6861ebdbcaa6
parentColumnDef constructor required only for Clang (diff)
downloadmygrate-f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9.tar.bz2
mygrate-f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9.tar.xz
mygrate-f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9.zip
Explicit semaphore constructor
-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);