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 | abbbaf4075fbaa0ff4ce9faa1188089466a21dbe (patch) | |
tree | 4beaffe75727862ab08110c7ce520dc7aa49ff30 /util | |
parent | 46f4bc6ab513a0ed1407f9095284a00e20f05adc (diff) | |
download | ydb-abbbaf4075fbaa0ff4ce9faa1188089466a21dbe.tar.gz |
Restoring authorship annotation for <finder@yandex-team.ru>. Commit 1 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 e7de7c81b7..d1c4837a23 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 bc46d9e64c..8904d42801 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 3c4f56dbeb..75946ab048 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); |