diff options
author | Ivan Komarov <Ivan.Komarov@dfyz.info> | 2022-02-10 16:46:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:48 +0300 |
commit | 4de97ab2fe437cbe83e4c63234e809ddd5ac34f2 (patch) | |
tree | ff8fb38b661955e6c99d1d000d6c72f739199590 /util/stream/output.cpp | |
parent | 9abfb1a53b7f7b791444d1378e645d8fad9b06ed (diff) | |
download | ydb-4de97ab2fe437cbe83e4c63234e809ddd5ac34f2.tar.gz |
Restoring authorship annotation for Ivan Komarov <Ivan.Komarov@dfyz.info>. Commit 1 of 2.
Diffstat (limited to 'util/stream/output.cpp')
-rw-r--r-- | util/stream/output.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/stream/output.cpp b/util/stream/output.cpp index db81b81b70..d43eb527a2 100644 --- a/util/stream/output.cpp +++ b/util/stream/output.cpp @@ -272,21 +272,21 @@ namespace { private: virtual void DoWrite(const void* buf, size_t len) override { with_lock (BufferMutex) { - Buffer.Write(buf, len); - } + Buffer.Write(buf, len); + } } virtual void DoFlush() override { with_lock (BufferMutex) { - LogFuncPtr(ANDROID_LOG_DEBUG, GetTag(), Buffer.Data()); - Buffer.Clear(); - } + LogFuncPtr(ANDROID_LOG_DEBUG, GetTag(), Buffer.Data()); + Buffer.Clear(); + } } virtual const char* GetTag() const = 0; private: - TMutex BufferMutex; + TMutex BufferMutex; TStringStream Buffer; TLogFuncPtr LogFuncPtr; }; |