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 | 2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/protobuf/src | |
parent | 6560e4993b14d193f8c879e33a3de5e5eba6e21d (diff) | |
download | ydb-2f6ca198245aeffd5e2d82b65927c2465b68b4f5.tar.gz |
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 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 9bc0d3a77c..cb9205a63a 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; |