diff options
author | kerzum <kerzum@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
commit | 47a7e7b29636bfb2deb1df5f92363b3c75229c95 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/charset | |
parent | 9a7232babfd763ccfe827bc70e82e0f50cfd8276 (diff) | |
download | ydb-47a7e7b29636bfb2deb1df5f92363b3c75229c95.tar.gz |
Restoring authorship annotation for <kerzum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/charset')
-rw-r--r-- | util/charset/wide.cpp | 4 | ||||
-rw-r--r-- | util/charset/wide.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/util/charset/wide.cpp b/util/charset/wide.cpp index ce2d9dcad8..a287438ddd 100644 --- a/util/charset/wide.cpp +++ b/util/charset/wide.cpp @@ -1,5 +1,5 @@ -#include "wide.h" - +#include "wide.h" + #include <util/generic/mem_copy.h> #include <util/string/strip.h> diff --git a/util/charset/wide.h b/util/charset/wide.h index 8bb3bc2409..04e6928aab 100644 --- a/util/charset/wide.h +++ b/util/charset/wide.h @@ -1,5 +1,5 @@ #pragma once - + #include "recode_result.h" #include "unidata.h" #include "utf8.h" @@ -257,7 +257,7 @@ public: return Begin; } }; - + namespace NDetail { template <bool robust, typename TCharType> inline void UTF8ToWideImplScalar(const unsigned char*& cur, const unsigned char* last, TCharType*& dest) noexcept { @@ -622,7 +622,7 @@ template <typename TChar1, typename TChar2> inline void Copy(const TChar1* first, size_t len, TChar2* result) { Copy(first, first + len, result); } - + //! copies symbols from one character sequence to another without any conversion //! @note this function can be used instead of the template constructor of @c std::basic_string: //! template <typename InputIterator> @@ -635,7 +635,7 @@ inline TStringType CopyTo(const TChar* first, const TChar* last) { Copy(first, last, str.begin()); return str; } - + template <typename TStringType, typename TChar> inline TStringType CopyTo(const TChar* s, size_t n) { TStringType str = TStringType::Uninitialized(n); |