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/Condition.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'raul/Condition.h') diff --git a/raul/Condition.h b/raul/Condition.h index 0f20c29..5517225 100644 --- a/raul/Condition.h +++ b/raul/Condition.h @@ -18,15 +18,16 @@ #define RAUL_CONDITION_H #include +#include -/** Trivial (but pretty) wrapper around POSIX Conditions (zero overhead). +/** Trivial (zero overhead) wrapper around POSIX Conditions. * * A semaphore that isn't a counter, is slow, and not realtime safe. Yay. * * \ingroup raul */ -class Condition { +class Condition : boost::noncopyable { public: inline Condition() { pthread_cond_init(&_cond, NULL); } -- cgit v1.2.1