mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Prevent spinlock copy construction
This commit is contained in:
parent
d00650c2fd
commit
63fee3b0c8
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ public:
|
|||
bool try_lock () { return l.try_lock (); }
|
||||
private:
|
||||
boost::detail::spinlock l;
|
||||
|
||||
/* prevent copy construction */
|
||||
spinlock_t (const spinlock_t&);
|
||||
};
|
||||
|
||||
/* RAII wrapper */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue