aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhippskill <hippskill@yandex-team.ru>2022-02-10 16:50:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:12 +0300
commit6362c4a2681cc317ffd22633d773f02de0d13697 (patch)
tree566537c590e1d85a85954c227ac36495243a9030 /library
parent4b28e15652a7672062edb6804bc985eedc333257 (diff)
downloadydb-6362c4a2681cc317ffd22633d773f02de0d13697.tar.gz
Restoring authorship annotation for <hippskill@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/json/yson/json2yson.cpp10
-rw-r--r--library/cpp/logger/log.cpp12
-rw-r--r--library/cpp/logger/log.h6
-rw-r--r--library/cpp/yson_pull/range.h4
4 files changed, 16 insertions, 16 deletions
diff --git a/library/cpp/json/yson/json2yson.cpp b/library/cpp/json/yson/json2yson.cpp
index f72cb7a9ef..5030eec414 100644
--- a/library/cpp/json/yson/json2yson.cpp
+++ b/library/cpp/json/yson/json2yson.cpp
@@ -48,13 +48,13 @@ namespace NJson2Yson {
}
void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, NYson::TYsonWriter* ysonWriter) {
- NYT::TYson2JsonCallbacksAdapter adapter(ysonWriter);
- WriteJsonValue(inputValue, &adapter);
- }
-
+ NYT::TYson2JsonCallbacksAdapter adapter(ysonWriter);
+ WriteJsonValue(inputValue, &adapter);
+ }
+
void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, IOutputStream* outputStream) {
NYson::TYsonWriter ysonWriter(outputStream, NYson::EYsonFormat::Binary, ::NYson::EYsonType::Node, false);
- SerializeJsonValueAsYson(inputValue, &ysonWriter);
+ SerializeJsonValueAsYson(inputValue, &ysonWriter);
}
void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, TString& result) {
diff --git a/library/cpp/logger/log.cpp b/library/cpp/logger/log.cpp
index e1d70cc3d2..a69cb3bea8 100644
--- a/library/cpp/logger/log.cpp
+++ b/library/cpp/logger/log.cpp
@@ -1,7 +1,7 @@
#include "log.h"
#include "uninitialized_creator.h"
-#include "filter.h"
-#include "null.h"
+#include "filter.h"
+#include "null.h"
#include "stream.h"
#include "thread.h"
@@ -20,12 +20,12 @@ THolder<TLogBackend> CreateLogBackend(const TString& fname, ELogPriority priorit
THolder<TLogBackend> CreateFilteredOwningThreadedLogBackend(const TString& fname, ELogPriority priority, size_t queueLen) {
return MakeHolder<TFilteredLogBackend>(CreateOwningThreadedLogBackend(fname, queueLen), priority);
-}
-
+}
+
THolder<TOwningThreadedLogBackend> CreateOwningThreadedLogBackend(const TString& fname, size_t queueLen) {
return MakeHolder<TOwningThreadedLogBackend>(CreateLogBackend(fname, LOG_MAX_PRIORITY, false).Release(), queueLen);
-}
-
+}
+
class TLog::TImpl: public TAtomicRefCount<TImpl> {
class TPriorityLogStream final: public IOutputStream {
public:
diff --git a/library/cpp/logger/log.h b/library/cpp/logger/log.h
index 8be984ccc8..078fa1b306 100644
--- a/library/cpp/logger/log.h
+++ b/library/cpp/logger/log.h
@@ -1,10 +1,10 @@
#pragma once
-#include "backend.h"
+#include "backend.h"
#include "element.h"
#include "priority.h"
-#include "record.h"
-#include "thread.h"
+#include "record.h"
+#include "thread.h"
#include <util/generic/fwd.h>
#include <util/generic/ptr.h>
diff --git a/library/cpp/yson_pull/range.h b/library/cpp/yson_pull/range.h
index f4fcf3f206..b5d6a5be3b 100644
--- a/library/cpp/yson_pull/range.h
+++ b/library/cpp/yson_pull/range.h
@@ -16,11 +16,11 @@ namespace NYsonPull {
{
}
- const TEvent* Last() const noexcept {
+ const TEvent* Last() const noexcept {
return &Reader_.LastEvent();
}
- const TEvent* Next() {
+ const TEvent* Next() {
if (Y_UNLIKELY(AtEnd)) {
return nullptr;
}