aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic
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
parente7879def805c52076a0b162a0270dfb229379d4e (diff)
downloadydb-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.h6
-rw-r--r--util/generic/flags.h2
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)
{
}