diff options
author | kirkov-andrey <kirkov-andrey@yandex-team.ru> | 2022-02-10 16:49:26 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:26 +0300 |
commit | 8c34370fe7b0a045a9b5b1a9891c5a0c5754fe06 (patch) | |
tree | 3ca53d67c0eb72c88e75181b49d20a305ebc5351 | |
parent | a34560e505da5142d686ed3f02c4651058d032c8 (diff) | |
download | ydb-8c34370fe7b0a045a9b5b1a9891c5a0c5754fe06.tar.gz |
Restoring authorship annotation for <kirkov-andrey@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | library/cpp/enumbitset/enumbitset.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/enumbitset/enumbitset.h b/library/cpp/enumbitset/enumbitset.h index 41864c3a04..c237b0b029 100644 --- a/library/cpp/enumbitset/enumbitset.h +++ b/library/cpp/enumbitset/enumbitset.h @@ -191,31 +191,31 @@ public: return ret; } - - TThis& operator&=(const TEnum c) { - return TThis::operator&=(TThis(c)); - } - - TThis& operator|=(const TEnum c) { - return TThis::operator|=(TThis(c)); - } - - TThis& operator^=(const TEnum c) { - return TThis::operator^=(TThis(c)); - } - - TThis operator&(const TEnum c) const { - return TThis::operator&(TThis(c)); - } - - TThis operator|(const TEnum c) const { - return TThis::operator|(TThis(c)); - } - - TThis operator^(const TEnum c) const { - return TThis::operator^(TThis(c)); - } - + + TThis& operator&=(const TEnum c) { + return TThis::operator&=(TThis(c)); + } + + TThis& operator|=(const TEnum c) { + return TThis::operator|=(TThis(c)); + } + + TThis& operator^=(const TEnum c) { + return TThis::operator^=(TThis(c)); + } + + TThis operator&(const TEnum c) const { + return TThis::operator&(TThis(c)); + } + + TThis operator|(const TEnum c) const { + return TThis::operator|(TThis(c)); + } + + TThis operator^(const TEnum c) const { + return TThis::operator^(TThis(c)); + } + auto operator[] (TEnum e) { return TParent::operator[](this->Pos(e)); } |