fix codespell

pull/10196/head
theodorerose 2 years ago
parent 8b4a62b4b3
commit db6ac0da02
  1. 2
      src/google/protobuf/repeated_field.h
  2. 2
      src/google/protobuf/repeated_ptr_field.h

@ -335,7 +335,7 @@ class RepeatedField final {
int total_size_;
// Replaces current_size_ with new_size and returns the previous value of
// current_size_. This function is indended to be the only place where
// current_size_. This function is intended to be the only place where
// current_size_ is modified.
inline int ExchangeCurrentSize(int new_size) {
int prev_size = current_size_;

@ -650,7 +650,7 @@ class PROTOBUF_EXPORT RepeatedPtrFieldBase {
int total_size_;
// Replaces current_size_ with new_size and returns the previous value of
// current_size_. This function is indended to be the only place where
// current_size_. This function is intended to be the only place where
// current_size_ is modified.
inline int ExchangeCurrentSize(int new_size) {
int prev_size = current_size_;

Loading…
Cancel
Save