aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/codepage.cpp
diff options
context:
space:
mode:
authoruht <uht@yandex-team.ru>2022-02-10 16:49:56 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:56 +0300
commit570af552997dea3da2712f693b345afa31932f3b (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/charset/codepage.cpp
parent1191d1e479d83a18a813a5107573ce22a2f0bbb4 (diff)
downloadydb-570af552997dea3da2712f693b345afa31932f3b.tar.gz
Restoring authorship annotation for <uht@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/charset/codepage.cpp')
-rw-r--r--library/cpp/charset/codepage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/charset/codepage.cpp b/library/cpp/charset/codepage.cpp
index 6f8825c935..0431bef31b 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) {