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.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/messagehandler.h b/src/net/messagehandler.h
index c438ed679..497934bd8 100644
--- a/src/net/messagehandler.h
+++ b/src/net/messagehandler.h
@@ -42,15 +42,17 @@ class MessageHandler
virtual void handleMessage(MessageIn &msg) = 0;
- MessageHandler() :
- handledMessages(nullptr)
- {
- }
A_DELETE_COPY(MessageHandler)
virtual ~MessageHandler()
{ }
+
+ protected:
+ MessageHandler() :
+ handledMessages(nullptr)
+ {
+ }
};
} // namespace Net