summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/Engine.h')
-rw-r--r--src/libs/engine/Engine.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libs/engine/Engine.h b/src/libs/engine/Engine.h
index a8d110ca..f584ee6d 100644
--- a/src/libs/engine/Engine.h
+++ b/src/libs/engine/Engine.h
@@ -18,6 +18,7 @@
#define ENGINE_H
#include <cassert>
+#include <boost/utility.hpp>
template<typename T> class Queue;
class Maid;
@@ -47,7 +48,7 @@ template <typename T> class Driver;
*
* \ingroup engine
*/
-class Engine
+class Engine : boost::noncopyable
{
public:
Engine(AudioDriver* audio_driver = 0);
@@ -81,10 +82,6 @@ public:
template<typename T> Driver<T>* driver();
private:
- // Prevent copies (undefined)
- Engine(const Engine&);
- Engine& operator=(const Engine&);
-
EventSource* m_event_source;
AudioDriver* m_audio_driver;
MidiDriver* m_midi_driver;