diff options
author | finder <finder@yandex-team.ru> | 2022-02-10 16:49:24 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:24 +0300 |
commit | 2ab6bab688484680d3ebc5c4a7e9cd3ff04fda04 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util | |
parent | abbbaf4075fbaa0ff4ce9faa1188089466a21dbe (diff) | |
download | ydb-2ab6bab688484680d3ebc5c4a7e9cd3ff04fda04.tar.gz |
Restoring authorship annotation for <finder@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/stream/zlib.h | 8 | ||||
-rw-r--r-- | util/string/split.h | 6 | ||||
-rw-r--r-- | util/system/tls.h | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/util/stream/zlib.h b/util/stream/zlib.h index d1c4837a23..e7de7c81b7 100644 --- a/util/stream/zlib.h +++ b/util/stream/zlib.h @@ -159,15 +159,15 @@ public: * Supports efficient `ReadLine` calls and similar "reading in small pieces" * usage patterns. */ -class TBufferedZLibDecompress: public TBuffered<TZLibDecompress> { +class TBufferedZLibDecompress: public TBuffered<TZLibDecompress> { public: template <class T> inline TBufferedZLibDecompress(T* in, ZLib::StreamType type = ZLib::Auto, size_t buf = 1 << 13) : TBuffered<TZLibDecompress>(buf, in, type) { } - + ~TBufferedZLibDecompress() override; -}; - +}; + /** @} */ diff --git a/util/string/split.h b/util/string/split.h index 8904d42801..bc46d9e64c 100644 --- a/util/string/split.h +++ b/util/string/split.h @@ -398,9 +398,9 @@ struct TSimplePusher { template <class T> static inline void Split(char* buf, char ch, T* res) { res->resize(0); - if (*buf == 0) - return; - + if (*buf == 0) + return; + TCharDelimiter<char> delim(ch); TSimplePusher<T> pusher = {res}; diff --git a/util/system/tls.h b/util/system/tls.h index 75946ab048..3c4f56dbeb 100644 --- a/util/system/tls.h +++ b/util/system/tls.h @@ -277,7 +277,7 @@ namespace NTls { return val; } - private: + private: static void Dtor(void* ptr) { THolder<void> mem(ptr); |