From 8611778efda37ff40ae9133010209a94dbb27865 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 3 Sep 2018 00:11:59 -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 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"); -- cgit v1.2.3