aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-07-10 17:12:35 -0400
committerDeterminant <[email protected]>2018-07-10 17:12:35 -0400
commit12336654c01e4cd12b9c115abb3a56868656cda6 (patch)
treecf9c96e1700eceb1ce44df0fbc2e80b1bea41316
parentc14b26fadcd643792960839bd1e05d7cbd39e123 (diff)
...
-rw-r--r--include/salticidae/msg.h2
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;