summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MaidObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/MaidObject.h')
-rw-r--r--src/libs/engine/MaidObject.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libs/engine/MaidObject.h b/src/libs/engine/MaidObject.h
index 74cec239..255e0ede 100644
--- a/src/libs/engine/MaidObject.h
+++ b/src/libs/engine/MaidObject.h
@@ -17,21 +17,18 @@
#ifndef MAIDOBJECT_H
#define MAIDOBJECT_H
+#include <boost/utility.hpp>
+
/** An object that can be passed to the maid for deletion.
*
* \ingroup engine
*/
-class MaidObject
+class MaidObject : boost::noncopyable
{
public:
MaidObject() {}
virtual ~MaidObject() {}
-
-private:
- // Prevent copies
- MaidObject(const MaidObject&);
- MaidObject& operator=(const MaidObject&);
};