aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/compact_vector
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /library/cpp/containers/compact_vector
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
downloadydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/compact_vector')
-rw-r--r--library/cpp/containers/compact_vector/compact_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/containers/compact_vector/compact_vector.h b/library/cpp/containers/compact_vector/compact_vector.h
index dbe7473f0c..51282f52fd 100644
--- a/library/cpp/containers/compact_vector/compact_vector.h
+++ b/library/cpp/containers/compact_vector/compact_vector.h
@@ -59,7 +59,7 @@ public:
} catch (...) {
}
}
- if (Ptr)
+ if (Ptr)
free(Header());
}
@@ -120,7 +120,7 @@ public:
}
size_t Size() const {
- return Ptr ? Header()->Size : 0;
+ return Ptr ? Header()->Size : 0;
}
size_t size() const {
@@ -136,7 +136,7 @@ public:
}
size_t Capacity() const {
- return Ptr ? Header()->Capacity : 0;
+ return Ptr ? Header()->Capacity : 0;
}
void PushBack(const T& elem) {