From 601fe38247a8232694a3c9af282c179e6ad1720d Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 25 Feb 2020 16:16:33 -0500 Subject: bump salticidae version and make some minor changes --- include/hotstuff/liveness.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/hotstuff/liveness.h') diff --git a/include/hotstuff/liveness.h b/include/hotstuff/liveness.h index 452ecdc..eff1406 100644 --- a/include/hotstuff/liveness.h +++ b/include/hotstuff/liveness.h @@ -124,7 +124,7 @@ class PMHighTail: public virtual PaceMaker { // if (!--nparents) break; // } // } - return std::move(parents); + return parents; } }; @@ -182,7 +182,7 @@ class PMWaitQC: public virtual PaceMaker { promise_t pm; pending_beats.push(pm); schedule_next(); - return std::move(pm); + return pm; } promise_t beat_resp(ReplicaID last_proposer) override { @@ -393,7 +393,7 @@ class PMRoundRobinProposer: virtual public PaceMaker { promise_t pm; pending_beats.push(pm); proposer_schedule_next(); - return std::move(pm); + return pm; } else return promise_t([proposer=proposer](promise_t &pm) { -- cgit v1.2.3-70-g09d2