diff options
author | danlark <[email protected]> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/codecs/delta_codec.h | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/codecs/delta_codec.h')
-rw-r--r-- | library/cpp/codecs/delta_codec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/codecs/delta_codec.h b/library/cpp/codecs/delta_codec.h index 0f42d22ebbf..21325825e6a 100644 --- a/library/cpp/codecs/delta_codec.h +++ b/library/cpp/codecs/delta_codec.h @@ -80,11 +80,11 @@ namespace NCodecs { ui8 Encode(TStringBuf s, TBuffer& b) const override { b.Clear(); - if (s.empty()) { + if (s.empty()) { return 0; } - b.Reserve(s.size()); + b.Reserve(s.size()); TArrayRef<const T> tin{(const T*)s.data(), s.size() / sizeof(T)}; const T* it = tin.begin(); @@ -117,11 +117,11 @@ namespace NCodecs { void Decode(TStringBuf s, TBuffer& b) const override { b.Clear(); - if (s.empty()) { + if (s.empty()) { return; } - b.Reserve(s.size()); + b.Reserve(s.size()); TArrayRef<const T> tin{(const T*)s.data(), s.size() / sizeof(T)}; TDecoder dec; |