diff options
author | Determinant <tederminant@gmail.com> | 2018-07-19 14:43:15 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2018-07-19 14:43:15 -0400 |
commit | b4bf23c07601560d708fbdd7c20aca20b630c983 (patch) | |
tree | 021e31927feed92dc61df6b51c3e840471715650 /include/salticidae/msg.h | |
parent | a75778995a4e0742f244670e9cc02a56611ccfe0 (diff) |
clean up code; fix mem leak in util
Diffstat (limited to 'include/salticidae/msg.h')
-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 798062a..33f0d2b 100644 --- a/include/salticidae/msg.h +++ b/include/salticidae/msg.h @@ -160,7 +160,7 @@ class MsgBase { << "length=" << std::to_string(length) << " " << "checksum=" << get_hex(checksum) << " " << "payload=" << get_hex(payload) << ">"; - return std::string(std::move(s)); + return std::move(s); } uint32_t get_checksum() const { |