From d38458e73cf7dfe02d2ea0ceb050f64df43413b8 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/ingen@182 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Maid.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/libs/engine/Maid.h') diff --git a/src/libs/engine/Maid.h b/src/libs/engine/Maid.h index a7e74f79..665ffa05 100644 --- a/src/libs/engine/Maid.h +++ b/src/libs/engine/Maid.h @@ -17,8 +17,9 @@ #ifndef MAID_H #define MAID_H -#include "MaidObject.h" +#include #include "raul/Queue.h" +#include "MaidObject.h" /** Explicitly driven garbage collector. @@ -32,7 +33,7 @@ * * \ingroup engine */ -class Maid +class Maid : boost::noncopyable { public: Maid(size_t size); @@ -43,10 +44,6 @@ public: void cleanup(); private: - // Prevent copies - Maid(const Maid&); - Maid& operator=(const Maid&); - Queue m_objects; }; -- cgit v1.2.1