Workaround false positive warning in MSVC.

Fixes https://github.com/protocolbuffers/protobuf/issues/14602

PiperOrigin-RevId: 578875053
pull/14605/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 9a610f02f8
commit f78f9c51fa
  1. 2
      src/google/protobuf/map_field.h

@ -678,7 +678,7 @@ class MapField final : public TypeDefinedMapFieldBase<Key, T> {
template <typename Derived, typename Key, typename T,
WireFormatLite::FieldType kKeyFieldType_,
WireFormatLite::FieldType kValueFieldType_>
constexpr MapFieldBase::VTable
PROTOBUF_CONSTINIT const MapFieldBase::VTable
MapField<Derived, Key, T, kKeyFieldType_, kValueFieldType_>::kVTable =
MapField::template MakeVTable<MapField>();

Loading…
Cancel
Save