summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/spinlock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/pbd/pbd/spinlock.h b/libs/pbd/pbd/spinlock.h
index 6fafeb0f78..2e543408df 100644
--- 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 */