projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent spinlock copy construction
[ardour.git]
/
libs
/
pbd
/
pbd
/
spinlock.h
diff --git
a/libs/pbd/pbd/spinlock.h
b/libs/pbd/pbd/spinlock.h
index 6fafeb0f78068e4d85e0fb34a2f8314ed3f09502..2e543408dfe4b4e6030312bc00829caafd786c48 100644
(file)
--- a/
libs/pbd/pbd/spinlock.h
+++ b/
libs/pbd/pbd/spinlock.h
@@
-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 */