diff options
author | smurylev <smurylev@yandex-team.ru> | 2022-02-10 16:50:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:34 +0300 |
commit | 82e516236e5bba43ff4dcd0e4ddf8fb30b3624d5 (patch) | |
tree | e6a11d2715ea09a3c45cf6b4bd80c1b908cc9dd1 /library/cpp/protobuf/json/config.h | |
parent | bfa8c3e83c12beb065db3c294bcad58628069502 (diff) | |
download | ydb-82e516236e5bba43ff4dcd0e4ddf8fb30b3624d5.tar.gz |
Restoring authorship annotation for <smurylev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/config.h')
-rw-r--r-- | library/cpp/protobuf/json/config.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/protobuf/json/config.h b/library/cpp/protobuf/json/config.h index dc84fb4d5d..fcfd500daa 100644 --- a/library/cpp/protobuf/json/config.h +++ b/library/cpp/protobuf/json/config.h @@ -86,8 +86,8 @@ namespace NProtobufJson { /// Custom enum values generator. TEnumValueGenerator EnumValueGenerator = {}; - bool WriteNanAsString = false; - + bool WriteNanAsString = false; + TSelf& SetFormatOutput(bool format) { FormatOutput = format; return *this; @@ -154,11 +154,11 @@ namespace NProtobufJson { EnumValueGenerator = callback; return *this; } - - TSelf& SetWriteNanAsString(bool value) { - WriteNanAsString = value; - return *this; - } + + TSelf& SetWriteNanAsString(bool value) { + WriteNanAsString = value; + return *this; + } }; } |