diff options
-rw-r--r-- | include/salticidae/msg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/msg.h b/include/salticidae/msg.h index 7943fe4..ab79392 100644 --- a/include/salticidae/msg.h +++ b/include/salticidae/msg.h @@ -76,7 +76,7 @@ class MsgBase { payload(std::move(other.payload)), no_payload(other.no_payload) {} - MsgBase(const uint8_t *raw_header) { + MsgBase(const uint8_t *raw_header): no_payload(true) { uint32_t _magic; opcode_t _opcode; uint32_t _length; |