diff options
author | ignat <ignat@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
commit | c8b279dd21ddcb47e755028d81281f113a0f4a11 (patch) | |
tree | 59384fcb7e8e0566cac1ed9738ab30f0b2559b58 /library/cpp/yt/memory/blob.cpp | |
parent | 2096e85a73bb6b3b20ae25a92943992717fe4167 (diff) | |
download | ydb-c8b279dd21ddcb47e755028d81281f113a0f4a11.tar.gz |
Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/memory/blob.cpp')
-rw-r--r-- | library/cpp/yt/memory/blob.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/yt/memory/blob.cpp b/library/cpp/yt/memory/blob.cpp index 86000b033b..d67630d37b 100644 --- a/library/cpp/yt/memory/blob.cpp +++ b/library/cpp/yt/memory/blob.cpp @@ -206,19 +206,19 @@ void TBlob::SetTagCookie(const TBlob& other) #endif } -void swap(TBlob& left, TBlob& right) -{ - if (&left != &right) { - std::swap(left.Begin_, right.Begin_); - std::swap(left.Size_, right.Size_); - std::swap(left.Capacity_, right.Capacity_); +void swap(TBlob& left, TBlob& right) +{ + if (&left != &right) { + std::swap(left.Begin_, right.Begin_); + std::swap(left.Size_, right.Size_); + std::swap(left.Capacity_, right.Capacity_); std::swap(left.PageAligned_, right.PageAligned_); #ifdef YT_ENABLE_REF_COUNTED_TRACKING std::swap(left.TagCookie_, right.TagCookie_); #endif - } -} - + } +} + //////////////////////////////////////////////////////////////////////////////// } // namespace NYT |