summaryrefslogtreecommitdiff
path: root/plugins/Boltun/src/Engine
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Boltun/src/Engine')
-rw-r--r--plugins/Boltun/src/Engine/PerContactData.h4
-rw-r--r--plugins/Boltun/src/Engine/TalkEngine.h3
-rw-r--r--plugins/Boltun/src/Engine/ValueChooser.h4
3 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Boltun/src/Engine/PerContactData.h b/plugins/Boltun/src/Engine/PerContactData.h
index f573423bd3..5eb276ab28 100644
--- a/plugins/Boltun/src/Engine/PerContactData.h
+++ b/plugins/Boltun/src/Engine/PerContactData.h
@@ -24,10 +24,8 @@
static std::map<unsigned, void*> perContactDataObjects;
template <class Source, class Data, class ContactHandle>
-class PerContactData
+class PerContactData : private MNonCopyable
{
- PerContactData& operator=(const PerContactData&);
-
template <class Source, class Data>
struct InternalData
{
diff --git a/plugins/Boltun/src/Engine/TalkEngine.h b/plugins/Boltun/src/Engine/TalkEngine.h
index 3ddeaf87b9..cd54199a90 100644
--- a/plugins/Boltun/src/Engine/TalkEngine.h
+++ b/plugins/Boltun/src/Engine/TalkEngine.h
@@ -26,9 +26,8 @@
#include "PerContactData.h"
#include "UnrecentChooser.h"
-class TalkBot
+class TalkBot : private MNonCopyable
{
- TalkBot& operator=(const TalkBot&);
public:
struct MessageInfo
diff --git a/plugins/Boltun/src/Engine/ValueChooser.h b/plugins/Boltun/src/Engine/ValueChooser.h
index e442f14530..6ddfc00a5a 100644
--- a/plugins/Boltun/src/Engine/ValueChooser.h
+++ b/plugins/Boltun/src/Engine/ValueChooser.h
@@ -22,7 +22,7 @@
#define StringChooserH
template<class container = std::vector<std::wstring> >
-class ValueChooser
+class ValueChooser : private MNonCopyable
{
private:
int freeNumbers;
@@ -30,8 +30,6 @@ private:
const container data;
bool notifyOnReset;
- ValueChooser& operator=(const ValueChooser&);
-
public:
ValueChooser(const container& vec, bool NotifyOnReset = false)
:data(vec), notifyOnReset(NotifyOnReset)