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 | 90e044f3970467c14a384a4d261a5d55f4b29a66 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/config.h | |
parent | 82e516236e5bba43ff4dcd0e4ddf8fb30b3624d5 (diff) | |
download | ydb-90e044f3970467c14a384a4d261a5d55f4b29a66.tar.gz |
Restoring authorship annotation for <smurylev@yandex-team.ru>. Commit 2 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 fcfd500daa..dc84fb4d5d 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; + } }; } |