summaryrefslogtreecommitdiff
path: root/src/net/messagein.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r--src/net/messagein.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h
index 708041c2c..cc32328cb 100644
--- a/src/net/messagein.h
+++ b/src/net/messagein.h
@@ -40,6 +40,8 @@ class MessageIn notfinal
public:
A_DELETE_COPY(MessageIn)
+ virtual ~MessageIn();
+
/**
* Returns the message ID.
*/
@@ -109,9 +111,6 @@ class MessageIn notfinal
unsigned char *readBytes(int length,
const char *const dstr = nullptr);
- virtual ~MessageIn()
- { }
-
static uint8_t fromServerDirection(const uint8_t serverDir)
A_WARN_UNUSED;