Skip to content

Commit

Permalink
Implicit copy constructor call removal (#3003)
Browse files Browse the repository at this point in the history
* Implicit copy constructor call removal
  • Loading branch information
Tytus Bierwiaczonek authored May 9, 2023
1 parent b4dea9d commit 61c4d39
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 = std::make_shared<PrePrepareMsg>(msg.release());
PrePrepareMsgShPtr message(std::move(msg));
if (!getReplicaConfig().prePrepareFinalizeAsyncEnabled) {
if (!validatePreProcessedResults(message.get(), getCurrentView())) {
// trigger view change
Expand Down

0 comments on commit 61c4d39

Please sign in to comment.