Fixes Clang 6 linker bug

PiperOrigin-RevId: 527711840
pull/12598/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent f7f003f1fd
commit e0508580bf
  1. 2
      src/google/protobuf/map_field.h

@ -604,7 +604,7 @@ class MapField final : public TypeDefinedMapFieldBase<Key, T> {
constexpr MapField() : impl_() {}
MapField(const MapField&) = delete;
MapField& operator=(const MapField&) = delete;
~MapField() = default;
~MapField() {}
explicit MapField(Arena* arena)
: TypeDefinedMapFieldBase<Key, T>(arena), impl_(arena) {}

Loading…
Cancel
Save