Skip to content

Commit

Permalink
std::move explicit call addition
Browse files Browse the repository at this point in the history
  • Loading branch information
tbierwiaczon committed May 4, 2023
1 parent 0079443 commit da5ecb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bftengine/src/bftengine/ReplicaImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ void ReplicaImp::onMessage<PrePrepareMsg>(PrePrepareMsgUPtr msg) {
"etc...)");
return;
}
PrePrepareMsgShPtr message(msg.release());
PrePrepareMsgShPtr message(std::move(msg));
if (!getReplicaConfig().prePrepareFinalizeAsyncEnabled) {
if (!validatePreProcessedResults(message.get(), getCurrentView())) {
// trigger view change
Expand Down

0 comments on commit da5ecb1

Please sign in to comment.