aboutsummaryrefslogtreecommitdiffstats
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
parentdb144972bc686626e62c9bb5b84d932f987dc8ef (diff)
downloadydb-af7786701134cfc2bd577c1c39bbc39433b555d6.tar.gz
Restoring authorship annotation for <abokov@yandex-team.ru>. Commit 2 of 2.
-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
-rw-r--r--util/str_stl.h2
-rw-r--r--util/system/filemap.h4
-rw-r--r--util/system/hostname.cpp4
-rw-r--r--util/system/thread.i2
7 files changed, 10 insertions, 10 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;
diff --git a/util/str_stl.h b/util/str_stl.h
index 59f60753e5..f1e137181d 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 9f3f141835..11be64bff4 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 1e9a5adf48..386f646d6b 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 9c6940962b..8cba505473 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>