Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykorean committed Mar 22, 2024
1 parent a4a2e58 commit 9a8ef79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions db/multi_cf_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ void MultiCfIterator::SeekCommon(BinaryHeap& heap,
}
}

template <typename BinaryHeap, typename AdvancedFuncType>
template <typename BinaryHeap, typename AdvanceFuncType>
void MultiCfIterator::AdvanceIterator(BinaryHeap& heap,
AdvancedFuncType advance_func) {
AdvanceFuncType advance_func) {
// 1. Keep the top iterator (by popping it from the heap)
// 2. Make sure all others have iterated past the top iterator key slice
// 3. Advance the top iterator, and add it back to the heap if valid
Expand Down
4 changes: 2 additions & 2 deletions db/multi_cf_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ class MultiCfIterator : public Iterator {

template <typename BinaryHeap, typename ChildSeekFuncType>
void SeekCommon(BinaryHeap& heap, ChildSeekFuncType child_seek_func);
template <typename BinaryHeap, typename AdvancedFuncType>
void AdvanceIterator(BinaryHeap& heap, AdvancedFuncType advance_func);
template <typename BinaryHeap, typename AdvanceFuncType>
void AdvanceIterator(BinaryHeap& heap, AdvanceFuncType advance_func);

void SeekToFirst() override;
void SeekToLast() override;
Expand Down

0 comments on commit 9a8ef79

Please sign in to comment.