diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-31 18:16:57 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-31 18:16:57 +0100 |
commit | f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9 (patch) | |
tree | f9cd08de5605d6bc3120f5e9594c6861ebdbcaa6 | |
parent | ColumnDef constructor required only for Clang (diff) | |
download | mygrate-f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9.tar.bz2 mygrate-f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9.tar.xz mygrate-f374d20cedfc3bcd8ee2bbfa5469d929e7e84af9.zip |
Explicit semaphore constructor
-rw-r--r-- | test/semaphore.h | 2 |
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); |