mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +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 (); }
|
bool try_lock () { return l.try_lock (); }
|
||||||
private:
|
private:
|
||||||
boost::detail::spinlock l;
|
boost::detail::spinlock l;
|
||||||
|
|
||||||
|
/* prevent copy construction */
|
||||||
|
spinlock_t (const spinlock_t&);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* RAII wrapper */
|
/* RAII wrapper */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue