fix: semaphore() noexcept is implicitly deleted

This commit is contained in:
mutouyun 2021-09-12 21:58:57 +08:00
parent cd4b28380c
commit 1994243bec

View File

@ -20,7 +20,7 @@ class semaphore {
sem_t *h_ = SEM_FAILED; sem_t *h_ = SEM_FAILED;
public: public:
semaphore() noexcept = default; semaphore() = default;
~semaphore() noexcept = default; ~semaphore() noexcept = default;
sem_t *native() const noexcept { sem_t *native() const noexcept {