summaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/recyr_int.hh
diff options
context:
space:
mode:
authorspacelord <[email protected]>2022-02-10 16:48:15 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:15 +0300
commita0c6d9ad0cf6b94c527a15da147eb24335281b6d (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/charset/recyr_int.hh
parent16747e4f77455cca4932df21eb76f12cb0a97a5c (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/charset/recyr_int.hh')
-rw-r--r--library/cpp/charset/recyr_int.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/charset/recyr_int.hh b/library/cpp/charset/recyr_int.hh
index 8354687c256..353af53305e 100644
--- a/library/cpp/charset/recyr_int.hh
+++ b/library/cpp/charset/recyr_int.hh
@@ -178,19 +178,19 @@ namespace NCodepagePrivate {
template <class TCharType>
struct TCharTypeSwitch<TCharType, 2> {
- using TRealCharType = wchar16;
+ using TRealCharType = wchar16;
};
template <class TCharType>
struct TCharTypeSwitch<TCharType, 4> {
- using TRealCharType = wchar32;
+ using TRealCharType = wchar32;
};
template <class TCharType>
inline RECODE_RESULT _recodeUnicodeToUTF8(const TCharType* in, char* out, size_t in_size, size_t out_size, size_t& in_readed, size_t& out_writed) {
static_assert(sizeof(TCharType) > 1, "expect some wide type");
- using TRealCharType = typename TCharTypeSwitch<TCharType>::TRealCharType;
+ using TRealCharType = typename TCharTypeSwitch<TCharType>::TRealCharType;
return _recodeUnicodeToUTF8Impl(reinterpret_cast<const TRealCharType*>(in), out, in_size, out_size, in_readed, out_writed);
}