aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/vector.h
diff options
context:
space:
mode:
authorfippo <fippo@yandex-team.ru>2022-02-10 16:50:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:08 +0300
commit7bf72dabd2102d9781c1ec7a754579757baa7b90 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/vector.h
parent3e57c324d47a3a202cb3c5a9648d2f92103d5213 (diff)
downloadydb-7bf72dabd2102d9781c1ec7a754579757baa7b90.tar.gz
Restoring authorship annotation for <fippo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/vector.h')
-rw-r--r--util/generic/vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/vector.h b/util/generic/vector.h
index 9af65ce7001..a5b258955a8 100644
--- a/util/generic/vector.h
+++ b/util/generic/vector.h
@@ -125,8 +125,8 @@ public:
#endif
inline void crop(size_type size) {
- if (this->size() > size) {
+ if (this->size() > size) {
this->erase(this->begin() + size, this->end());
- }
- }
+ }
+ }
};