aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/variant.h
diff options
context:
space:
mode:
authorsavrus <savrus@yandex-team.ru>2022-02-10 16:50:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:48 +0300
commit2ee4b26133812e990e7958fc1863d8d5f8ee7f7b (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/misc/variant.h
parent2056f5ae3bf6e5a65e9885e0add085c708cca5b8 (diff)
downloadydb-2ee4b26133812e990e7958fc1863d8d5f8ee7f7b.tar.gz
Restoring authorship annotation for <savrus@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/misc/variant.h')
-rw-r--r--library/cpp/yt/misc/variant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/misc/variant.h b/library/cpp/yt/misc/variant.h
index dd89e08ab31..27c0a2bc086 100644
--- a/library/cpp/yt/misc/variant.h
+++ b/library/cpp/yt/misc/variant.h
@@ -20,7 +20,7 @@ template <class T, class... Ts>
struct TVariantIndex<T, std::variant<Ts...>>
: std::integral_constant<size_t, NDetail::TIndexOf<T, Ts...>::Value>
{ };
-
+
template <class T, class V>
constexpr size_t VariantIndexV = TVariantIndex<T, V>::value;