diff options
author | a-square <a-square@yandex-team.ru> | 2022-02-10 16:50:24 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:24 +0300 |
commit | 34f3f9bd7972f67d913075206081554a3e39a0de (patch) | |
tree | 89df462bfae95c8d9063871a9eae476233768b09 /util/generic | |
parent | e7879def805c52076a0b162a0270dfb229379d4e (diff) | |
download | ydb-34f3f9bd7972f67d913075206081554a3e39a0de.tar.gz |
Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic')
-rw-r--r-- | util/generic/buffer.h | 6 | ||||
-rw-r--r-- | util/generic/flags.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/buffer.h b/util/generic/buffer.h index 9576467404..c94d2e8637 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; } diff --git a/util/generic/flags.h b/util/generic/flags.h index a1f5921d42..4af19104b1 100644 --- a/util/generic/flags.h +++ b/util/generic/flags.h @@ -39,7 +39,7 @@ public: using TEnum = Enum; using TInt = std::underlying_type_t<Enum>; - constexpr TFlags(std::nullptr_t = 0) + constexpr TFlags(std::nullptr_t = 0) : Value_(0) { } |