diff options
author | mvel <mvel@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
commit | 43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /contrib/libs | |
parent | bd30392c4cc92487950adc375c07adf52da1d592 (diff) | |
download | ydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz |
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/pire/pire/encoding.cpp | 24 | ||||
-rw-r--r-- | contrib/libs/ya.make | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/contrib/libs/pire/pire/encoding.cpp b/contrib/libs/pire/pire/encoding.cpp index 2405602704..842e2b534d 100644 --- a/contrib/libs/pire/pire/encoding.cpp +++ b/contrib/libs/pire/pire/encoding.cpp @@ -11,7 +11,7 @@ * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Pire is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -39,8 +39,8 @@ namespace { class Latin1: public Encoding { public: - Latin1() : Encoding() {} - + Latin1() : Encoding() {} + wchar32 FromLocal(const char*& begin, const char* end) const { if (begin == end) @@ -61,7 +61,7 @@ namespace { void AppendDot(Fsm& fsm) const { fsm.AppendDot(); } }; - + namespace UtfRanges { static const size_t MaxLen = 4; @@ -74,11 +74,11 @@ namespace { static const size_t Next[2] = {0x80, 0xC0}; } - + class Utf8: public Encoding { public: - Utf8() : Encoding() {} - + Utf8() : Encoding() {} + wchar32 FromLocal(const char*& begin, const char* end) const { wchar32 rune; @@ -117,16 +117,16 @@ namespace { namespace Encodings { - const Encoding& Utf8() + const Encoding& Utf8() { static const Pire::Utf8 utf8; - return utf8; + return utf8; } - const Encoding& Latin1() + const Encoding& Latin1() { - static const Pire::Latin1 latin1; - return latin1; + static const Pire::Latin1 latin1; + return latin1; } } diff --git a/contrib/libs/ya.make b/contrib/libs/ya.make index 4927c3eaf3..9c4640fdcf 100644 --- a/contrib/libs/ya.make +++ b/contrib/libs/ya.make @@ -107,7 +107,7 @@ RECURSE( hwloc hyperscan i18n - i18n/ut + i18n/ut icu ImageMagick inja |