Remove unused internal function from the public section of `Map`.
PiperOrigin-RevId: 805973468
diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h
index b41fee9..a9b933c 100644
--- a/src/google/protobuf/map.h
+++ b/src/google/protobuf/map.h
@@ -1421,7 +1421,7 @@
void swap(Map& other) {
if (arena() == other.arena()) {
- InternalSwap(&other);
+ this->InternalSwap(&other);
} else {
size_t other_size = other.size();
Node* other_copy = this->CloneFromOther(other);
@@ -1433,10 +1433,6 @@
}
}
- void InternalSwap(Map* other) {
- internal::UntypedMapBase::InternalSwap(other);
- }
-
hasher hash_function() const { return {}; }
size_t SpaceUsedExcludingSelfLong() const {