diff options
author | uht <uht@yandex-team.ru> | 2022-02-10 16:49:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:56 +0300 |
commit | 1191d1e479d83a18a813a5107573ce22a2f0bbb4 (patch) | |
tree | 6cbbb7e1c6309393dde43830532c7c7b633b1e4b /library/cpp/charset/codepage.cpp | |
parent | fa977fb6c7b468a86cf33f948fdae8e0c83d3cad (diff) | |
download | ydb-1191d1e479d83a18a813a5107573ce22a2f0bbb4.tar.gz |
Restoring authorship annotation for <uht@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/charset/codepage.cpp')
-rw-r--r-- | library/cpp/charset/codepage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/charset/codepage.cpp b/library/cpp/charset/codepage.cpp index 0431bef31b..6f8825c935 100644 --- a/library/cpp/charset/codepage.cpp +++ b/library/cpp/charset/codepage.cpp @@ -24,13 +24,13 @@ using namespace NCodepagePrivate; void Recoder::Create(const CodePage& source, const CodePage& target) { const Encoder* wideTarget = &EncoderByCharset(target.CPEnum); - Create(source, wideTarget); -} + Create(source, wideTarget); +} void Recoder::Create(const CodePage& page, wchar32 (*mapfunc)(wchar32)) { const Encoder* widePage = &EncoderByCharset(page.CPEnum); - Create(page, widePage, mapfunc); -} - + Create(page, widePage, mapfunc); +} + template <class T, class T1> static inline T1 Apply(T b, T e, T1 to, const Recoder& mapper) { while (b != e) { |