13
0

Prevent spinlock copy construction

This commit is contained in:
Robin Gareus 2019-07-28 15:02:04 +02:00
parent d00650c2fd
commit 63fee3b0c8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

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