We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Map
1 parent b7d3c2d commit d53c7aaCopy full SHA for d53c7aa
src/google/protobuf/map.h
@@ -1421,7 +1421,7 @@ class Map : private internal::KeyMapBase<internal::KeyForBase<Key>> {
1421
1422
void swap(Map& other) {
1423
if (arena() == other.arena()) {
1424
- InternalSwap(&other);
+ this->InternalSwap(&other);
1425
} else {
1426
size_t other_size = other.size();
1427
Node* other_copy = this->CloneFromOther(other);
@@ -1433,10 +1433,6 @@ class Map : private internal::KeyMapBase<internal::KeyForBase<Key>> {
1433
}
1434
1435
1436
- void InternalSwap(Map* other) {
1437
- internal::UntypedMapBase::InternalSwap(other);
1438
- }
1439
-
1440
hasher hash_function() const { return {}; }
1441
1442
size_t SpaceUsedExcludingSelfLong() const {
0 commit comments