소스 검색

VersionSet::Builder::Apply() does not mutate its argument.

PiperOrigin-RevId: 420533763
main
Victor Costan 2 년 전
committed by Victor Costan
부모
커밋
7ee3889a61
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      db/version_set.cc

+ 1
- 1
db/version_set.cc 파일 보기

@ -626,7 +626,7 @@ class VersionSet::Builder {
}
// Apply all of the edits in *edit to the current state.
void Apply(VersionEdit* edit) {
void Apply(const VersionEdit* edit) {
// Update compaction pointers
for (size_t i = 0; i < edit->compact_pointers_.size(); i++) {
const int level = edit->compact_pointers_[i].first;

불러오는 중...
취소
저장