mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
fix: semaphore() noexcept is implicitly deleted
This commit is contained in:
parent
cd4b28380c
commit
1994243bec
@ -20,7 +20,7 @@ class semaphore {
|
||||
sem_t *h_ = SEM_FAILED;
|
||||
|
||||
public:
|
||||
semaphore() noexcept = default;
|
||||
semaphore() = default;
|
||||
~semaphore() noexcept = default;
|
||||
|
||||
sem_t *native() const noexcept {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user