summaryrefslogtreecommitdiff
path: root/src/net/messagehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagehandler.h')
-rw-r--r--src/net/messagehandler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/messagehandler.h b/src/net/messagehandler.h
index fdf552403..c438ed679 100644
--- a/src/net/messagehandler.h
+++ b/src/net/messagehandler.h
@@ -42,6 +42,13 @@ class MessageHandler
virtual void handleMessage(MessageIn &msg) = 0;
+ MessageHandler() :
+ handledMessages(nullptr)
+ {
+ }
+
+ A_DELETE_COPY(MessageHandler)
+
virtual ~MessageHandler()
{ }
};