diff options
author | nae202 <nae202@yandex-team.com> | 2024-11-20 12:52:01 +0300 |
---|---|---|
committer | nae202 <nae202@yandex-team.com> | 2024-11-20 13:14:09 +0300 |
commit | 0b9d91e900b52bccd6eabd033acbb57c4ee173fc (patch) | |
tree | 6839ed69fbda4d5214eb418acc4554924bc64160 /util/stream | |
parent | 878e26057d11cce46b7bc3a6c838209d4686e28b (diff) | |
download | ydb-0b9d91e900b52bccd6eabd033acbb57c4ee173fc.tar.gz |
Part of PR. Style
Часть большого ПР REVIEW:7264088
commit_hash:0f5b03fbbed0ac30f734943309e3ef5cd4d7a30e
Diffstat (limited to 'util/stream')
-rw-r--r-- | util/stream/format.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/stream/format.h b/util/stream/format.h index c6ee9c720f..81dd686a8c 100644 --- a/util/stream/format.h +++ b/util/stream/format.h @@ -45,8 +45,9 @@ namespace NFormatPrivate { template <typename T> static inline void WriteChars(T& os, char c, size_t count) { - if (count == 0) + if (count == 0) { return; + } TTempBuf buf(count); memset(buf.Data(), c, count); StreamWrite(os, buf.Data(), count); |