Removed a few more uses of std::iterator that I missed before.

PiperOrigin-RevId: 489072541
pull/13171/head
Joshua Haberman 2 years ago committed by Copybara-Service
parent 7c20721f3e
commit 677b928a44
  1. 6
      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<std::forward_iterator_tag,
std::pair<std::string, T> > {
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<std::forward_iterator_tag,
std::pair<uintptr_t, T> > {
class iterator {
public:
explicit iterator(TypedIntTable* table) : iter_(&table->table_) {}
static iterator end(TypedIntTable* table) {

Loading…
Cancel
Save