Use int32_t rather than int32.

pull/9104/head
Jorg Brown 3 years ago committed by GitHub
parent 6bc21b531e
commit 72f085747e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/google/protobuf/compiler/objectivec/objectivec_helpers.h

@ -263,7 +263,7 @@ class PROTOC_EXPORT TextFormatDecodeData {
TextFormatDecodeData(const TextFormatDecodeData&) = delete;
TextFormatDecodeData& operator=(const TextFormatDecodeData&) = delete;
void AddString(int32 key, const std::string& input_for_decode,
void AddString(int32_t key, const std::string& input_for_decode,
const std::string& desired_output);
size_t num_entries() const { return entries_.size(); }
std::string Data() const;
@ -272,7 +272,7 @@ class PROTOC_EXPORT TextFormatDecodeData {
const std::string& desired_output);
private:
typedef std::pair<int32, std::string> DataEntry;
typedef std::pair<int32_t, std::string> DataEntry;
std::vector<DataEntry> entries_;
};

Loading…
Cancel
Save