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 | ba0318ad2edf77bcc1b6726ad16adfa45ab8b6d5 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 | |
parent | 8c34370fe7b0a045a9b5b1a9891c5a0c5754fe06 (diff) | |
download | ydb-ba0318ad2edf77bcc1b6726ad16adfa45ab8b6d5.tar.gz |
Restoring authorship annotation for <kirkov-andrey@yandex-team.ru>. Commit 2 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 c237b0b029..41864c3a04 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)); } |