Disable std::string specialization

PiperOrigin-RevId: 509289178
pull/11929/head
Martijn Vels 2 years ago committed by Copybara-Service
parent 28c0a48b5e
commit 08bedfdbe4
  1. 5
      src/google/protobuf/arena.h

@ -681,11 +681,6 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final {
friend struct internal::ArenaTestPeer;
};
template <>
inline void* Arena::AllocateInternal<std::string, false>() {
return impl_.AllocateFromStringBlock();
}
} // namespace protobuf
} // namespace google

Loading…
Cancel
Save