fix: prevent accidental copying of Mutex
This commit is contained in:
parent
291ae59de9
commit
4f15a6f7d9
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ namespace fishbone {
|
|||
Mutex();
|
||||
~Mutex();
|
||||
|
||||
Mutex(const Mutex&) = delete;
|
||||
Mutex& operator=(const Mutex&) = delete;
|
||||
|
||||
void lock();
|
||||
void unlock();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue