diff --git a/db/multi_cf_iterator.cc b/db/multi_cf_iterator.cc index d29786d8da4..80e4171d54d 100644 --- a/db/multi_cf_iterator.cc +++ b/db/multi_cf_iterator.cc @@ -28,9 +28,9 @@ void MultiCfIterator::SeekCommon(BinaryHeap& heap, } } -template +template 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 diff --git a/db/multi_cf_iterator.h b/db/multi_cf_iterator.h index f2798bf4ae7..cdd09c16df0 100644 --- a/db/multi_cf_iterator.h +++ b/db/multi_cf_iterator.h @@ -145,8 +145,8 @@ class MultiCfIterator : public Iterator { template void SeekCommon(BinaryHeap& heap, ChildSeekFuncType child_seek_func); - template - void AdvanceIterator(BinaryHeap& heap, AdvancedFuncType advance_func); + template + void AdvanceIterator(BinaryHeap& heap, AdvanceFuncType advance_func); void SeekToFirst() override; void SeekToLast() override;