diff options
author | Determinant <[email protected]> | 2018-07-19 14:43:35 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-07-19 14:43:35 -0400 |
commit | 95316118206aeed718ae6260ef9b5a1a4a6dacd8 (patch) | |
tree | c0b2df4c8f020bb076c276069da066a4f43c32f8 /include/hotstuff/entity.h | |
parent | 9e745354fe10f31b829f0c02a2aa464f391ffd19 (diff) |
fix mem leak
Diffstat (limited to 'include/hotstuff/entity.h')
-rw-r--r-- | include/hotstuff/entity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/entity.h b/include/hotstuff/entity.h index 03aff06..28b5148 100644 --- a/include/hotstuff/entity.h +++ b/include/hotstuff/entity.h @@ -184,7 +184,7 @@ class Block { << "id=" << get_hex10(hash) << " " << "height=" << std::to_string(height) << " " << "parent=" << get_hex10(parent_hashes[0]) << ">"; - return std::string(std::move(s)); + return std::move(s); } }; |