diff options
author | bulatman <bulatman@yandex-team.ru> | 2022-02-10 16:45:50 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:50 +0300 |
commit | 6560e4993b14d193f8c879e33a3de5e5eba6e21d (patch) | |
tree | cfd2e2baa05c3196f2caacbb63c32e1df40bc3de /contrib/libs/protobuf/src | |
parent | 7489e4682331202b9c7d863c0898eb83d7b12c2b (diff) | |
download | ydb-6560e4993b14d193f8c879e33a3de5e5eba6e21d.tar.gz |
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/protobuf/src')
-rw-r--r-- | contrib/libs/protobuf/src/google/protobuf/repeated_field.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/protobuf/src/google/protobuf/repeated_field.h b/contrib/libs/protobuf/src/google/protobuf/repeated_field.h index cb9205a63a..9bc0d3a77c 100644 --- a/contrib/libs/protobuf/src/google/protobuf/repeated_field.h +++ b/contrib/libs/protobuf/src/google/protobuf/repeated_field.h @@ -655,7 +655,7 @@ class PROTOBUF_EXPORT RepeatedPtrFieldBase { template<typename TypeHandler> void Truncate(int new_size) { GOOGLE_DCHECK_LE(new_size, current_size_); - for (int i = new_size; i < current_size_; i++) { + for (int i = new_size; i < current_size_; i++) { TypeHandler::Clear(cast<TypeHandler>(rep_->elements[i])); } current_size_ = new_size; |