summaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/actor/temp_tls_vector.h
diff options
context:
space:
mode:
authorsingle <[email protected]>2022-02-10 16:50:30 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:30 +0300
commitf7835298a8840c8e5d98715bf23efa9c7e03b9c4 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/messagebus/actor/temp_tls_vector.h
parent8ae96df130bbede609c3504aa9af1bc6ff5361b3 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/actor/temp_tls_vector.h')
-rw-r--r--library/cpp/messagebus/actor/temp_tls_vector.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/messagebus/actor/temp_tls_vector.h b/library/cpp/messagebus/actor/temp_tls_vector.h
index 407703d702e..675d92f5b0b 100644
--- a/library/cpp/messagebus/actor/temp_tls_vector.h
+++ b/library/cpp/messagebus/actor/temp_tls_vector.h
@@ -23,18 +23,18 @@ public:
}
~TTempTlsVector() {
- Clear();
- }
-
- void Clear() {
+ Clear();
+ }
+
+ void Clear() {
Vector->clear();
}
-
+
size_t Capacity() const noexcept {
- return Vector->capacity();
- }
-
- void Shrink() {
- Vector->shrink_to_fit();
- }
+ return Vector->capacity();
+ }
+
+ void Shrink() {
+ Vector->shrink_to_fit();
+ }
};