Prevent spinlock copy construction
[ardour.git] / libs / pbd / pbd / spinlock.h
index 6fafeb0f78068e4d85e0fb34a2f8314ed3f09502..2e543408dfe4b4e6030312bc00829caafd786c48 100644 (file)
@@ -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 */