diff options
author | rlipovsky <rlipovsky@yandex-team.ru> | 2022-02-10 16:52:00 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:52:00 +0300 |
commit | 7bb0b9623d5c6d31b333df5b3840bc1e2ddf3c11 (patch) | |
tree | 1b43811d062d29868cc51cec0e3b38081010081f /util/draft | |
parent | 49cadfd7af3d975ff562bf5dadc1966135d03b43 (diff) | |
download | ydb-7bb0b9623d5c6d31b333df5b3840bc1e2ddf3c11.tar.gz |
Restoring authorship annotation for <rlipovsky@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/draft')
-rw-r--r-- | util/draft/enum.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/draft/enum.h b/util/draft/enum.h index 18002b7df2..bca562c067 100644 --- a/util/draft/enum.h +++ b/util/draft/enum.h @@ -1,7 +1,7 @@ #pragma once -#include <bitset> - +#include <bitset> + #include <util/generic/strbuf.h> #include <util/stream/str.h> #include <util/string/cast.h> @@ -111,10 +111,10 @@ inline void SetEnumFlags(const std::pair<const char*, E>* str2Enum, TStringBuf o if (optSpec.empty()) { SetEnumFlagsForEmptySpec(flags, allIfEmpty); } else { - flags.reset(); + flags.reset(); for (const auto& it : StringSplitter(optSpec).Split(',')) { E e = *EnumFromStringImpl(ToString(it.Token()).data(), str2Enum, size); - flags.set(e); + flags.set(e); } } } |