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
commit34f3f9bd7972f67d913075206081554a3e39a0de (patch)
tree89df462bfae95c8d9063871a9eae476233768b09 /util/generic/buffer.h
parente7879def805c52076a0b162a0270dfb229379d4e (diff)
downloadydb-34f3f9bd7972f67d913075206081554a3e39a0de.tar.gz
Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 1 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 95764674049..c94d2e86371 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;
}