diff options
author | Determinant <[email protected]> | 2018-07-10 19:02:02 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-07-10 19:02:02 -0400 |
commit | a0ea3b5fb7eaedb9b6789657bed998585bb98b77 (patch) | |
tree | 069a083b932cf3ac9bbcb027049342605540b8a9 /include | |
parent | 12336654c01e4cd12b9c115abb3a56868656cda6 (diff) |
...
Diffstat (limited to 'include')
-rw-r--r-- | include/salticidae/msg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/salticidae/msg.h b/include/salticidae/msg.h index ab79392..b9db1b8 100644 --- a/include/salticidae/msg.h +++ b/include/salticidae/msg.h @@ -147,13 +147,13 @@ class MsgBase { operator std::string() const { DataStream s; - s << "<" + s << "<msg " << "magic=" << get_hex(magic) << " " << "opcode=" << get_hex(opcode) << " " - << "length=" << get_hex(length) << " " + << "length=" << std::to_string(length) << " " << "checksum=" << get_hex(checksum) << " " << "payload=" << get_hex(payload) << ">"; - return std::string(s); + return std::string(std::move(s)); } uint32_t get_checksum() const { |