aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorpanin <panin@yandex-team.ru>2022-02-10 16:49:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:46 +0300
commitd29002717dd19ea9988bec31ca62afdc2c1d7062 (patch)
tree1936c5fe1ea75f39ae466205e9a6ddc5d72c052f /library
parent60a6df6d382906cd4ca6cd885920b3c20820170e (diff)
downloadydb-d29002717dd19ea9988bec31ca62afdc2c1d7062.tar.gz
Restoring authorship annotation for <panin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/http/io/stream.cpp2
-rw-r--r--library/cpp/yt/memory/leaky_singleton.h20
2 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index 6689be684f..e4147751c5 100644
--- a/library/cpp/http/io/stream.cpp
+++ b/library/cpp/http/io/stream.cpp
@@ -639,7 +639,7 @@ private:
inline bool IsHttpRequest() const noexcept {
return IsRequest(FirstLine_);
}
-
+
inline bool HasResponseBody() const noexcept {
if (IsHttpResponse()) {
if (Request_ && Request_->FirstLine().StartsWith(TStringBuf("HEAD")))
diff --git a/library/cpp/yt/memory/leaky_singleton.h b/library/cpp/yt/memory/leaky_singleton.h
index 03b5e51d78..2b77312f64 100644
--- a/library/cpp/yt/memory/leaky_singleton.h
+++ b/library/cpp/yt/memory/leaky_singleton.h
@@ -1,9 +1,9 @@
-#pragma once
-
-namespace NYT {
-
-////////////////////////////////////////////////////////////////////////////////
-
+#pragma once
+
+namespace NYT {
+
+////////////////////////////////////////////////////////////////////////////////
+
template <class T>
class TLeakyStorage
{
@@ -24,10 +24,10 @@ private:
template <class T>
T* LeakySingleton();
-
-////////////////////////////////////////////////////////////////////////////////
-
-} // namespace NYT
+
+////////////////////////////////////////////////////////////////////////////////
+
+} // namespace NYT
#define LEAKY_SINGLETON_INL_H_
#include "leaky_singleton-inl.h"