diff options
| author | babenko <[email protected]> | 2022-02-10 16:49:19 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:19 +0300 |
| commit | f31097c96270919a1f49360bdaaa69ea4f3fefab (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/yson | |
| parent | cec37806d8847aa3db53bafc9e251d4aaf325c12 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/yson')
| -rw-r--r-- | library/cpp/yt/yson/consumer.cpp | 4 | ||||
| -rw-r--r-- | library/cpp/yt/yson/consumer.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/yt/yson/consumer.cpp b/library/cpp/yt/yson/consumer.cpp index 90438e541ef..9b68ee8a223 100644 --- a/library/cpp/yt/yson/consumer.cpp +++ b/library/cpp/yt/yson/consumer.cpp @@ -6,8 +6,8 @@ namespace NYT::NYson { //////////////////////////////////////////////////////////////////////////////// -void IYsonConsumer::OnRaw(const TYsonStringBuf& yson) -{ +void IYsonConsumer::OnRaw(const TYsonStringBuf& yson) +{ OnRaw(yson.AsStringBuf(), yson.GetType()); } diff --git a/library/cpp/yt/yson/consumer.h b/library/cpp/yt/yson/consumer.h index 7c3b7b06630..ea5f586b91c 100644 --- a/library/cpp/yt/yson/consumer.h +++ b/library/cpp/yt/yson/consumer.h @@ -1,19 +1,19 @@ #pragma once #include <util/generic/strbuf.h> - + #include <util/system/defaults.h> #include <library/cpp/yt/yson_string/public.h> namespace NYT::NYson { - + //////////////////////////////////////////////////////////////////////////////// //! A SAX-like interface for parsing a YSON stream. -struct IYsonConsumer -{ - virtual ~IYsonConsumer() = default; +struct IYsonConsumer +{ + virtual ~IYsonConsumer() = default; //! The current item is a string scalar (IStringNode). /*! |
