From 12336654c01e4cd12b9c115abb3a56868656cda6 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 10 Jul 2018 17:12:35 -0400 Subject: ... --- include/salticidae/msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3-70-g09d2