diff --git a/db/db_iter.cc b/db/db_iter.cc index 33f926ce0..16fcf9f79 100644 --- a/db/db_iter.cc +++ b/db/db_iter.cc @@ -50,7 +50,7 @@ static void DumpInternalIter(Iterator* iter) { // combines multiple entries for the same userkey found in the DB // representation into a single entry while accounting for sequence // numbers, deletion markers, overwrites, etc. -class DBIter: public Iterator { +class DBIter final: public Iterator { public: // The following is grossly complicated. TODO: clean it up // Which direction is the iterator currently moving?