aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-03 00:11:59 -0400
committerDeterminant <[email protected]>2018-09-03 00:11:59 -0400
commit8611778efda37ff40ae9133010209a94dbb27865 (patch)
treee3da686534ff90060f798e25cc4397a31f3586d9
parent2c64bf03ebe7f5dbd4d45cb46f2c360d4cfad753 (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 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");