diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
commit | 7fe839092527589b38f014d854c51565b3c1adfa (patch) | |
tree | 309e97022d3530044b712b8f71318c78faf7856e /library/cpp/cgiparam | |
parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
download | ydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/cgiparam')
-rw-r--r-- | library/cpp/cgiparam/cgiparam.cpp | 2 | ||||
-rw-r--r-- | library/cpp/cgiparam/cgiparam.h | 6 | ||||
-rw-r--r-- | library/cpp/cgiparam/cgiparam_ut.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/cgiparam/cgiparam.cpp b/library/cpp/cgiparam/cgiparam.cpp index f3277b8e4b..2ecc06d3f4 100644 --- a/library/cpp/cgiparam/cgiparam.cpp +++ b/library/cpp/cgiparam/cgiparam.cpp @@ -57,7 +57,7 @@ size_t TCgiParameters::EraseAll(const TStringBuf name) { return num; } -void TCgiParameters::JoinUnescaped(const TStringBuf key, char sep, TStringBuf val) { +void TCgiParameters::JoinUnescaped(const TStringBuf key, char sep, TStringBuf val) { const auto pair = equal_range(key); auto it = pair.first; diff --git a/library/cpp/cgiparam/cgiparam.h b/library/cpp/cgiparam/cgiparam.h index 87d1ab0ad4..f32217b7e4 100644 --- a/library/cpp/cgiparam/cgiparam.h +++ b/library/cpp/cgiparam/cgiparam.h @@ -18,7 +18,7 @@ struct TStringLess { class TCgiParameters: public TMultiMap<TString, TString> { public: - TCgiParameters() = default; + TCgiParameters() = default; explicit TCgiParameters(const TStringBuf cgiParamStr) { Scan(cgiParamStr); @@ -117,7 +117,7 @@ public: // join multiple values into a single one using a separator // if val is a [possibly empty] non-NULL string, append it as well - void JoinUnescaped(const TStringBuf key, char sep, TStringBuf val = TStringBuf()); + void JoinUnescaped(const TStringBuf key, char sep, TStringBuf val = TStringBuf()); bool Erase(const TStringBuf name, size_t numOfValue = 0); bool Erase(const TStringBuf name, const TStringBuf val); @@ -163,7 +163,7 @@ void TCgiParameters::ReplaceUnescaped(const TStringBuf key, TIter valuesBegin, c class TQuickCgiParam: public TMultiMap<TStringBuf, TStringBuf> { public: - TQuickCgiParam() = default; + TQuickCgiParam() = default; explicit TQuickCgiParam(const TStringBuf cgiParamStr); diff --git a/library/cpp/cgiparam/cgiparam_ut.cpp b/library/cpp/cgiparam/cgiparam_ut.cpp index a562342084..23d4f96472 100644 --- a/library/cpp/cgiparam/cgiparam_ut.cpp +++ b/library/cpp/cgiparam/cgiparam_ut.cpp @@ -198,7 +198,7 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) { TCgiParameters c; c.Scan("foo=1&foo=2"); - c.JoinUnescaped("foo", ';', "0"); + c.JoinUnescaped("foo", ';', "0"); UNIT_ASSERT_VALUES_EQUAL(c.Print(), "foo=1;2;0"); } |