diff options
author | abokov <abokov@yandex-team.ru> | 2022-02-10 16:49:57 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:57 +0300 |
commit | db144972bc686626e62c9bb5b84d932f987dc8ef (patch) | |
tree | e0ed404f8a8785b89e2f0edb6d22cc8ad474ece0 | |
parent | efc32853c4263131bc59412eaf1a9e4aaae2a1f9 (diff) | |
download | ydb-db144972bc686626e62c9bb5b84d932f987dc8ef.tar.gz |
Restoring authorship annotation for <abokov@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | library/cpp/cgiparam/cgiparam.h | 4 | ||||
-rw-r--r-- | library/cpp/containers/str_map/str_map.h | 2 | ||||
-rw-r--r-- | library/cpp/string_utils/quote/quote.cpp | 2 | ||||
-rw-r--r-- | util/str_stl.h | 2 | ||||
-rw-r--r-- | util/system/filemap.h | 4 | ||||
-rw-r--r-- | util/system/hostname.cpp | 4 | ||||
-rw-r--r-- | util/system/thread.i | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/cgiparam/cgiparam.h b/library/cpp/cgiparam/cgiparam.h index 87d1ab0ad4..1b66684557 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 31b00d1b99..8c00b2c6e0 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 e523350b80..c4c0212ed6 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; diff --git a/util/str_stl.h b/util/str_stl.h index f1e137181d..59f60753e5 100644 --- a/util/str_stl.h +++ b/util/str_stl.h @@ -1,5 +1,5 @@ #pragma once - + #include <util/memory/alloc.h> #include <util/digest/numeric.h> #include <util/generic/string.h> diff --git a/util/system/filemap.h b/util/system/filemap.h index 11be64bff4..9f3f141835 100644 --- a/util/system/filemap.h +++ b/util/system/filemap.h @@ -42,9 +42,9 @@ struct TMemoryMapCommon { void* Ptr; size_t Size; i32 Head; - + TMapResult(void) noexcept { - Reset(); + Reset(); } }; diff --git a/util/system/hostname.cpp b/util/system/hostname.cpp index 386f646d6b..1e9a5adf48 100644 --- a/util/system/hostname.cpp +++ b/util/system/hostname.cpp @@ -3,11 +3,11 @@ #include <util/generic/yexception.h> #include <util/network/ip.h> -#if defined(_unix_) +#if defined(_unix_) #include <unistd.h> #include <ifaddrs.h> #include <netdb.h> -#endif +#endif #if defined(_win_) #include <WinSock2.h> diff --git a/util/system/thread.i b/util/system/thread.i index 8cba505473..9c6940962b 100644 --- a/util/system/thread.i +++ b/util/system/thread.i @@ -1,7 +1,7 @@ //do not use directly #pragma once #include "platform.h" - + #if defined(_win_) #include "winint.h" #include <process.h> |