diff options
| author | Alexander Fokin <[email protected]> | 2022-02-10 16:45:38 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:38 +0300 |
| commit | bf9e69a933f89af083d895185f01ed65e4d90766 (patch) | |
| tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /library/cpp/protobuf/util/pb_io.cpp | |
| parent | 863a59a65247c24db7cb06789bc5cf79d04da32f (diff) | |
Restoring authorship annotation for Alexander Fokin <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/util/pb_io.cpp')
| -rw-r--r-- | library/cpp/protobuf/util/pb_io.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/protobuf/util/pb_io.cpp b/library/cpp/protobuf/util/pb_io.cpp index fe2c7a6e7bf..6270ee06243 100644 --- a/library/cpp/protobuf/util/pb_io.cpp +++ b/library/cpp/protobuf/util/pb_io.cpp @@ -1,5 +1,5 @@ -#include "pb_io.h" - +#include "pb_io.h" + #include <library/cpp/binsaver/bin_saver.h> #include <library/cpp/string_utils/base64/base64.h> @@ -95,7 +95,7 @@ int operator&(NProtoBuf::Message& m, IBinSaver& f) { void SerializeToTextFormat(const NProtoBuf::Message& m, IOutputStream& out) { NProtoBuf::io::TCopyingOutputStreamAdaptor adaptor(&out); - + if (!NProtoBuf::TextFormat::Print(m, &adaptor)) { ythrow yexception() << "SerializeToTextFormat failed on Print"; } |
