aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/buffer.h
diff options
context:
space:
mode:
authora-square <a-square@yandex-team.ru>2022-02-10 16:50:24 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:24 +0300
commita01c1f7b71b4422f01b11d9ea45bfd88e228c968 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/buffer.h
parent34f3f9bd7972f67d913075206081554a3e39a0de (diff)
downloadydb-a01c1f7b71b4422f01b11d9ea45bfd88e228c968.tar.gz
Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/buffer.h')
-rw-r--r--util/generic/buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/buffer.h b/util/generic/buffer.h
index c94d2e8637..9576467404 100644
--- a/util/generic/buffer.h
+++ b/util/generic/buffer.h
@@ -29,9 +29,9 @@ public:
TBuffer& operator=(TBuffer&& b) noexcept;
TBuffer& operator=(const TBuffer& b) {
- if (this != &b) {
- Assign(b.Data(), b.Size());
- }
+ if (this != &b) {
+ Assign(b.Data(), b.Size());
+ }
return *this;
}