aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorabokov <abokov@yandex-team.ru>2022-02-10 16:49:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:57 +0300
commitaf7786701134cfc2bd577c1c39bbc39433b555d6 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library
parentdb144972bc686626e62c9bb5b84d932f987dc8ef (diff)
downloadydb-af7786701134cfc2bd577c1c39bbc39433b555d6.tar.gz
Restoring authorship annotation for <abokov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/cgiparam/cgiparam.h4
-rw-r--r--library/cpp/containers/str_map/str_map.h2
-rw-r--r--library/cpp/string_utils/quote/quote.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/cgiparam/cgiparam.h b/library/cpp/cgiparam/cgiparam.h
index 1b66684557..87d1ab0ad4 100644
--- a/library/cpp/cgiparam/cgiparam.h
+++ b/library/cpp/cgiparam/cgiparam.h
@@ -31,11 +31,11 @@ public:
}
size_t EraseAll(const TStringBuf name);
-
+
size_t NumOfValues(const TStringBuf name) const noexcept {
return count(name);
}
-
+
TString operator()() const {
return Print();
}
diff --git a/library/cpp/containers/str_map/str_map.h b/library/cpp/containers/str_map/str_map.h
index 8c00b2c6e0..31b00d1b99 100644
--- a/library/cpp/containers/str_map/str_map.h
+++ b/library/cpp/containers/str_map/str_map.h
@@ -34,7 +34,7 @@ pool_insert(Map* m, const char* key, const typename Map::mapped_type& data, TBuf
#define HASH_SIZE_DEFAULT 100
#define AVERAGEWORD_BUF 10
-template <class T, class HashFcn, class EqualTo, class Alloc>
+template <class T, class HashFcn, class EqualTo, class Alloc>
class string_hash: public THashMap<const char*, T, HashFcn, EqualTo, Alloc> {
protected:
TBuffer pool;
diff --git a/library/cpp/string_utils/quote/quote.cpp b/library/cpp/string_utils/quote/quote.cpp
index c4c0212ed6..e523350b80 100644
--- a/library/cpp/string_utils/quote/quote.cpp
+++ b/library/cpp/string_utils/quote/quote.cpp
@@ -221,7 +221,7 @@ char* CGIUnescape(char* to, const char* from) {
char* CGIUnescape(char* to, const char* from, size_t len) {
return Unescape(to, from, from + len, TFromHexLenLimited(from + len));
}
-
+
void CGIUnescape(TString& url) {
if (url.empty()) {
return;