Skip to content

Commit

Permalink
update raft engine and fix compile error
Browse files Browse the repository at this point in the history
ref #11119

Signed-off-by: tabokie <xy.tao@outlook.com>
  • Loading branch information
tabokie committed Oct 21, 2021
1 parent fbdd7d4 commit 0ee536e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions components/raft_log_engine/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ impl RaftLogBatchTrait for RaftLogBatch {
self.0.is_empty()
}

fn merge(&mut self, src: Self) {
self.0.merge(src.0);
fn merge(&mut self, mut src: Self) {
self.0.merge(&mut src.0);
}
}

Expand Down

0 comments on commit 0ee536e

Please sign in to comment.