Delete unused zigzag decoder helpers.

PiperOrigin-RevId: 502505767
pull/11549/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 5d7e234745
commit 417c136eeb
  1. BIN
      csharp/src/Google.Protobuf.Test/testprotos.pb
  2. 10
      src/google/protobuf/generated_message_tctable_lite.cc

@ -773,21 +773,11 @@ inline FieldType ZigZagDecodeHelper(FieldType value) {
return static_cast<FieldType>(value); return static_cast<FieldType>(value);
} }
template <>
inline uint32_t ZigZagDecodeHelper<uint32_t, true>(uint32_t value) {
return WireFormatLite::ZigZagDecode32(value);
}
template <> template <>
inline int32_t ZigZagDecodeHelper<int32_t, true>(int32_t value) { inline int32_t ZigZagDecodeHelper<int32_t, true>(int32_t value) {
return WireFormatLite::ZigZagDecode32(value); return WireFormatLite::ZigZagDecode32(value);
} }
template <>
inline uint64_t ZigZagDecodeHelper<uint64_t, true>(uint64_t value) {
return WireFormatLite::ZigZagDecode64(value);
}
template <> template <>
inline int64_t ZigZagDecodeHelper<int64_t, true>(int64_t value) { inline int64_t ZigZagDecodeHelper<int64_t, true>(int64_t value) {
return WireFormatLite::ZigZagDecode64(value); return WireFormatLite::ZigZagDecode64(value);

Loading…
Cancel
Save