defined here so that `HashTableType` is visible Merge entries from `other_table` into `this->hash_table_`.
| 535 | // defined here so that `HashTableType` is visible |
| 536 | // Merge entries from `other_table` into `this->hash_table_`. |
| 537 | Status MergeTable(const ScalarMemoTable& other_table) { |
| 538 | const HashTableType& other_hashtable = other_table.hash_table_; |
| 539 | return other_hashtable.VisitEntries([this](const HashTableEntry* other_entry) { |
| 540 | int32_t unused; |
| 541 | return this->GetOrInsert(other_entry->payload.value, &unused); |
| 542 | }); |
| 543 | } |
| 544 | }; |
| 545 | |
| 546 | // ---------------------------------------------------------------------- |