diff options
| author | breakneck <[email protected]> | 2022-02-10 16:47:58 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:58 +0300 |
| commit | e2021f9a0e54d13b7c48796318b13b66dc625e74 (patch) | |
| tree | 5aed1691033eaf399ab80a10a137238922035fa8 /util/generic/flags.h | |
| parent | 83602b1b564b92a80a1526d113fa2846661dd10e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 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 a1f5921d423..0591c634023 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)); } |
