diff options
Diffstat (limited to 'NetEx/NetMsg.h')
-rw-r--r-- | NetEx/NetMsg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetEx/NetMsg.h b/NetEx/NetMsg.h index fd4850c..e675c95 100644 --- a/NetEx/NetMsg.h +++ b/NetEx/NetMsg.h @@ -39,7 +39,7 @@ public: std::uint32_t Sequence() const { return msgid; } std::uint32_t NetID() const { return netid; } - const std::uint8_t* Data() const { return data; } + std::uint8_t* Data() { return data; } std::uint8_t Type() const { return data ? *data : 0; } int Length() const { return len; } std::uint8_t Flags() const { return flags; } |