diff options
Diffstat (limited to 'plugins/WinterSpeak/src/Subject.h')
-rw-r--r-- | plugins/WinterSpeak/src/Subject.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/WinterSpeak/src/Subject.h b/plugins/WinterSpeak/src/Subject.h index f4bba3b075..d3ae97fba6 100644 --- a/plugins/WinterSpeak/src/Subject.h +++ b/plugins/WinterSpeak/src/Subject.h @@ -3,7 +3,7 @@ #include "Observer.h"
#include <list>
-class Subject
+class Subject : private MNonCopyable
{
public:
Subject();
@@ -27,12 +27,6 @@ public: void detach(const Observer &observer);
private:
- //--------------------------------------------------------------------------
- // Description : Disallow assignment operator and copy constructor
- //--------------------------------------------------------------------------
- Subject(const Subject &rhs);
- const Subject & operator=(const Subject &rhs);
-
std::list<Observer *> m_observer_list;
};
|