diff options
author | Determinant <[email protected]> | 2018-09-03 00:11:59 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-09-03 00:11:59 -0400 |
commit | 8611778efda37ff40ae9133010209a94dbb27865 (patch) | |
tree | e3da686534ff90060f798e25cc4397a31f3586d9 | |
parent | 2c64bf03ebe7f5dbd4d45cb46f2c360d4cfad753 (diff) |
...
-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 fa4283e..3dec3dd 100644 --- a/include/salticidae/msg.h +++ b/include/salticidae/msg.h @@ -149,7 +149,7 @@ class MsgBase { opcode = _opcode; } - DataStream &&get_payload() const { + DataStream get_payload() const { #ifndef SALTICIDAE_NOCHECK if (no_payload) throw std::runtime_error("payload not available"); |