From 4e68bf298f9fe4445925b4fe39f28e364a216fd2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Oct 2006 07:28:30 +0000 Subject: Used boost::noncopyable to eliminate undefined private copy constructors spread everywhere. git-svn-id: http://svn.drobilla.net/lad/raul@182 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Semaphore.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'raul/Semaphore.h') diff --git a/raul/Semaphore.h b/raul/Semaphore.h index 213e1d0..bd06b65 100644 --- a/raul/Semaphore.h +++ b/raul/Semaphore.h @@ -18,6 +18,7 @@ #define RAUL_SEMAPHORE_H #include +#include /** Trivial wrapper around POSIX semaphores (zero memory overhead). @@ -31,7 +32,7 @@ * * \ingroup raul */ -class Semaphore { +class Semaphore : boost::noncopyable { public: inline Semaphore(unsigned int initial) { sem_init(&m_sem, 0, initial); } -- cgit v1.2.1