From 4aae166b5d23fd02653919f43e2015cd636fa6fd Mon Sep 17 00:00:00 2001 From: krock21 Date: Thu, 10 Feb 2022 16:46:02 +0300 Subject: Restoring authorship annotation for . Commit 1 of 2. --- library/cpp/string_utils/base64/base64.h | 2 +- library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp | 8 ++++---- library/cpp/string_utils/ztstrbuf/ztstrbuf.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'library/cpp/string_utils') diff --git a/library/cpp/string_utils/base64/base64.h b/library/cpp/string_utils/base64/base64.h index f778a6425aa..70917c89d1c 100644 --- a/library/cpp/string_utils/base64/base64.h +++ b/library/cpp/string_utils/base64/base64.h @@ -2,7 +2,7 @@ #include #include -#include +#include /* @return Size of the buffer required to decode Base64 encoded data of size `len`. */ diff --git a/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp b/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp index 768555ea3ae..9c8bbbdfdd0 100644 --- a/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp +++ b/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp @@ -2,8 +2,8 @@ #include -#define RESC_FIXED_STR(s) TStringBuf(s, sizeof(s) - 1) -static const TStringBuf CommonTestData[] = { +#define RESC_FIXED_STR(s) TStringBuf(s, sizeof(s) - 1) +static const TStringBuf CommonTestData[] = { // Should be valid UTF-8. RESC_FIXED_STR("http://ya.ru/"), RESC_FIXED_STR("http://ya.ru/"), RESC_FIXED_STR("http://ya.ru/\\x17\\n"), RESC_FIXED_STR("http://ya.ru/\x17\n"), @@ -29,8 +29,8 @@ Y_UNIT_TEST_SUITE(TRelaxedEscaperTest) { Y_UNIT_TEST(TestEscaper) { using namespace NEscJ; for (size_t i = 0; i < Y_ARRAY_SIZE(CommonTestData); i += 2) { - TString expected(CommonTestData[i].data(), CommonTestData[i].size()); - TString source(CommonTestData[i + 1].data(), CommonTestData[i + 1].size()); + TString expected(CommonTestData[i].data(), CommonTestData[i].size()); + TString source(CommonTestData[i + 1].data(), CommonTestData[i + 1].size()); TString actual(EscapeJ(source)); TString actual2(UnescapeC(expected)); diff --git a/library/cpp/string_utils/ztstrbuf/ztstrbuf.h b/library/cpp/string_utils/ztstrbuf/ztstrbuf.h index 5fab768d8c4..eb88d28b3e0 100644 --- a/library/cpp/string_utils/ztstrbuf/ztstrbuf.h +++ b/library/cpp/string_utils/ztstrbuf/ztstrbuf.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include /* * Zero-terminated string view. -- cgit v1.3