aboutsummaryrefslogtreecommitdiff
path: root/src/consensus.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-07-19 14:43:35 -0400
committerDeterminant <[email protected]>2018-07-19 14:43:35 -0400
commit95316118206aeed718ae6260ef9b5a1a4a6dacd8 (patch)
treec0b2df4c8f020bb076c276069da066a4f43c32f8 /src/consensus.cpp
parent9e745354fe10f31b829f0c02a2aa464f391ffd19 (diff)
fix mem leak
Diffstat (limited to 'src/consensus.cpp')
-rw-r--r--src/consensus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consensus.cpp b/src/consensus.cpp
index bf4868d..6b8b398 100644
--- a/src/consensus.cpp
+++ b/src/consensus.cpp
@@ -287,7 +287,7 @@ HotStuffCore::operator std::string () const {
<< "bexec=" << get_hex10(bqc->get_hash()) << " "
<< "vheight=" << std::to_string(vheight) << " "
<< "tails=" << std::to_string(tails.size()) << ">";
- return std::string(std::move(s));
+ return std::move(s);
}
}