diff --git a/upb/hash/test.cc b/upb/hash/test.cc index b1c10f7690..d7b9524b46 100644 --- a/upb/hash/test.cc +++ b/upb/hash/test.cc @@ -108,8 +108,7 @@ class IntTable { void Compact() { upb_inttable_compact(&table_, arena_.ptr()); } - class iterator : public std::iterator > { + class iterator { public: explicit iterator(IntTable* table) { upb_inttable_begin(&iter_, &table->table_); @@ -173,8 +172,7 @@ class StrTable { upb_strtable_resize(&table_, size_lg2, arena_.ptr()); } - class iterator : public std::iterator > { + class iterator { public: explicit iterator(StrTable* table) { upb_strtable_begin(&iter_, &table->table_);