updated protobuf to 3.18.1
This commit is contained in:
6
external/include/google/protobuf/has_bits.h
vendored
6
external/include/google/protobuf/has_bits.h
vendored
@@ -53,11 +53,11 @@ class HasBits {
|
||||
memset(has_bits_, 0, sizeof(has_bits_));
|
||||
}
|
||||
|
||||
PROTOBUF_NDEBUG_INLINE uint32& operator[](int index) {
|
||||
PROTOBUF_NDEBUG_INLINE uint32_t& operator[](int index) {
|
||||
return has_bits_[index];
|
||||
}
|
||||
|
||||
PROTOBUF_NDEBUG_INLINE const uint32& operator[](int index) const {
|
||||
PROTOBUF_NDEBUG_INLINE const uint32_t& operator[](int index) const {
|
||||
return has_bits_[index];
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ class HasBits {
|
||||
bool empty() const;
|
||||
|
||||
private:
|
||||
uint32 has_bits_[doublewords];
|
||||
uint32_t has_bits_[doublewords];
|
||||
};
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user