From 677b928a44ca00357cb028fb0326627955a90fd8 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 16 Nov 2022 16:41:55 -0800 Subject: [PATCH] Removed a few more uses of std::iterator that I missed before. PiperOrigin-RevId: 489072541 --- upb/hash/test.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/upb/hash/test.cc b/upb/hash/test.cc index d7b9524b46..5451f2bb4b 100644 --- a/upb/hash/test.cc +++ b/upb/hash/test.cc @@ -239,8 +239,7 @@ class TypedStrTable { void Resize(size_t size_lg2) { table_.Resize(size_lg2); } - class iterator : public std::iterator > { + class iterator { public: explicit iterator(TypedStrTable* table) : iter_(&table->table_) {} static iterator end(TypedStrTable* table) { @@ -312,8 +311,7 @@ class TypedIntTable { void Compact() { table_.Compact(); } - class iterator : public std::iterator > { + class iterator { public: explicit iterator(TypedIntTable* table) : iter_(&table->table_) {} static iterator end(TypedIntTable* table) {