diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/charset | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/charset')
-rw-r--r-- | util/charset/unicode_table.h | 6 | ||||
-rw-r--r-- | util/charset/wide.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/util/charset/unicode_table.h b/util/charset/unicode_table.h index 944c567ade..9e171b2583 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 d6d82aa7ad..04e6928aab 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; } |