aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/buffer.h
diff options
context:
space:
mode:
authormowgli <mowgli@yandex-team.ru>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:25 +0300
commit89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (patch)
treec4772201af6215d48734691b8796e4cfc77c2ac8 /util/generic/buffer.h
parent7510cec1516d17cbc8d7749974e36aa45f547a26 (diff)
downloadydb-89afbbe4ca0e02e386dd4df08f7945f190dc1b84.tar.gz
Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/buffer.h')
-rw-r--r--util/generic/buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/buffer.h b/util/generic/buffer.h
index 9576467404..358566feda 100644
--- a/util/generic/buffer.h
+++ b/util/generic/buffer.h
@@ -154,9 +154,9 @@ public:
inline void ShrinkToFit() {
if (Pos_ < Len_) {
Realloc(Pos_);
- }
+ }
}
-
+
inline void Resize(size_t len) {
Reserve(len);
Pos_ = len;