diff options
author | breakneck <breakneck@yandex-team.ru> | 2022-02-10 16:47:58 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:58 +0300 |
commit | f860932520ce9bc8540a3c19e84c0109c3437dc5 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/generic/flags.h | |
parent | e2021f9a0e54d13b7c48796318b13b66dc625e74 (diff) | |
download | ydb-f860932520ce9bc8540a3c19e84c0109c3437dc5.tar.gz |
Restoring authorship annotation for <breakneck@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/flags.h')
-rw-r--r-- | util/generic/flags.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/flags.h b/util/generic/flags.h index 0591c63402..a1f5921d42 100644 --- a/util/generic/flags.h +++ b/util/generic/flags.h @@ -55,10 +55,10 @@ public: return Value_; } - constexpr TInt ToBaseType() const { - return Value_; - } - + constexpr TInt ToBaseType() const { + return Value_; + } + constexpr static TFlags FromBaseType(TInt value) { return TFlags(TFlag(value)); } |