aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cgiparam/cgiparam.h
diff options
context:
space:
mode:
authormaslov <maslov@yandex-team.ru>2022-02-10 16:48:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:18 +0300
commit9dc6a7dc845164ea1999b93fab2a8b7491a08d2b (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/cgiparam/cgiparam.h
parent7429d8be0f619d00069466e159d8ecd43a60f61a (diff)
downloadydb-9dc6a7dc845164ea1999b93fab2a8b7491a08d2b.tar.gz
Restoring authorship annotation for <maslov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/cgiparam/cgiparam.h')
-rw-r--r--library/cpp/cgiparam/cgiparam.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/cgiparam/cgiparam.h b/library/cpp/cgiparam/cgiparam.h
index 2abb4989a6..87d1ab0ad4 100644
--- a/library/cpp/cgiparam/cgiparam.h
+++ b/library/cpp/cgiparam/cgiparam.h
@@ -1,5 +1,5 @@
#pragma once
-
+
#include <library/cpp/iterator/iterate_values.h>
#include <util/generic/iterator_range.h>
@@ -19,17 +19,17 @@ struct TStringLess {
class TCgiParameters: public TMultiMap<TString, TString> {
public:
TCgiParameters() = default;
-
+
explicit TCgiParameters(const TStringBuf cgiParamStr) {
Scan(cgiParamStr);
}
-
+
TCgiParameters(std::initializer_list<std::pair<TString, TString>> il);
void Flush() {
erase(begin(), end());
}
-
+
size_t EraseAll(const TStringBuf name);
size_t NumOfValues(const TStringBuf name) const noexcept {
@@ -131,7 +131,7 @@ public:
return it->second.data();
}
-};
+};
template <typename TIter>
void TCgiParameters::ReplaceUnescaped(const TStringBuf key, TIter valuesBegin, const TIter valuesEnd) {