aboutsummaryrefslogtreecommitdiffstats
path: root/util/charset
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/charset
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/charset')
-rw-r--r--util/charset/unicode_table.h6
-rw-r--r--util/charset/wide.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/util/charset/unicode_table.h b/util/charset/unicode_table.h
index 9e171b2583..944c567ade 100644
--- a/util/charset/unicode_table.h
+++ b/util/charset/unicode_table.h
@@ -41,7 +41,7 @@ namespace NUnicodeTable {
using TData = const TValuePtr*;
static inline TValuePtr Get(TData table, size_t index) {
- static_assert(std::is_pointer<TData>::value, "expect std::is_pointer<TData>::value");
+ static_assert(std::is_pointer<TData>::value, "expect std::is_pointer<TData>::value");
return table[index];
}
@@ -58,7 +58,7 @@ namespace NUnicodeTable {
using TData = const typename TChild::TData*;
static inline TValuePtr Get(TData table, size_t key) {
- static_assert(std::is_pointer<TData>::value, "expect std::is_pointer<TData>::value");
+ static_assert(std::is_pointer<TData>::value, "expect std::is_pointer<TData>::value");
return TChild::Get(table[key >> Shift], key & ((1 << Shift) - 1));
}
@@ -97,7 +97,7 @@ namespace NUnicodeTable {
: Data(data)
, MSize(size)
{
- static_assert(std::is_pointer<TData>::value, "expect std::is_pointer<TData>::value");
+ static_assert(std::is_pointer<TData>::value, "expect std::is_pointer<TData>::value");
}
inline TValueRef Get(size_t key, TValueRef value) const {
diff --git a/util/charset/wide.h b/util/charset/wide.h
index 04e6928aab..d6d82aa7ad 100644
--- a/util/charset/wide.h
+++ b/util/charset/wide.h
@@ -146,7 +146,7 @@ inline wchar32 ReadSymbolAndAdvance(const wchar32*& begin, const wchar32* end) n
template <class T>
inline size_t WriteSymbol(wchar16 s, T& dest) noexcept {
- ::NDetail::TSelector<std::is_pointer<T>::value>::WriteSymbol(s, dest);
+ ::NDetail::TSelector<std::is_pointer<T>::value>::WriteSymbol(s, dest);
return 1;
}