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 */