aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/comptrie/key_selector.h
diff options
context:
space:
mode:
authoronpopov <onpopov@yandex-team.ru>2022-02-10 16:50:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:38 +0300
commit84a29dd4980d5b39615e453f289bd1a81213296d (patch)
tree5e320f10d6b5863e0d5ab1a8caa9eefbdaa5195f /library/cpp/containers/comptrie/key_selector.h
parent1717072c6635948128dad7b015a0ec05acbe913b (diff)
downloadydb-84a29dd4980d5b39615e453f289bd1a81213296d.tar.gz
Restoring authorship annotation for <onpopov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie/key_selector.h')
-rw-r--r--library/cpp/containers/comptrie/key_selector.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/containers/comptrie/key_selector.h b/library/cpp/containers/comptrie/key_selector.h
index 60466cef71..01387947b4 100644
--- a/library/cpp/containers/comptrie/key_selector.h
+++ b/library/cpp/containers/comptrie/key_selector.h
@@ -1,28 +1,28 @@
-#pragma once
-
-#include <util/generic/vector.h>
+#pragma once
+
+#include <util/generic/vector.h>
#include <util/generic/string.h>
-#include <util/generic/strbuf.h>
-
+#include <util/generic/strbuf.h>
+
template <class T>
-struct TCompactTrieKeySelector {
+struct TCompactTrieKeySelector {
typedef TVector<T> TKey;
typedef TVector<T> TKeyBuf;
-};
-
+};
+
template <class TChar>
-struct TCompactTrieCharKeySelector {
+struct TCompactTrieCharKeySelector {
typedef TBasicString<TChar> TKey;
typedef TBasicStringBuf<TChar> TKeyBuf;
-};
-
+};
+
template <>
struct TCompactTrieKeySelector<char>: public TCompactTrieCharKeySelector<char> {
-};
-
+};
+
template <>
struct TCompactTrieKeySelector<wchar16>: public TCompactTrieCharKeySelector<wchar16> {
-};
+};
template <>
struct TCompactTrieKeySelector<wchar32>: public TCompactTrieCharKeySelector<wchar32> {