diff --git a/userspace/falco/semaphore.h b/userspace/falco/semaphore.h index 78498b92..98c2fefb 100644 --- a/userspace/falco/semaphore.h +++ b/userspace/falco/semaphore.h @@ -30,6 +30,11 @@ namespace falco * @brief Creates a semaphore with the given initial counter value */ semaphore(int c = 0): count(c) {} + semaphore(semaphore&&) = default; + semaphore& operator = (semaphore&&) = default; + semaphore(const semaphore&) = delete; + semaphore& operator = (const semaphore&) = delete; + ~semaphore() = default; /** * @brief Increments the internal counter and unblocks acquirers