aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/config.h
diff options
context:
space:
mode:
authoryourmary <yourmary@yandex-team.ru>2022-02-10 16:50:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:35 +0300
commit6c28d571885436fe17efe87ca39884f80852bb8c (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/config.h
parentca865f07201ed0ac6e9673b4d6eb2b3fd6d0af02 (diff)
downloadydb-6c28d571885436fe17efe87ca39884f80852bb8c.tar.gz
Restoring authorship annotation for <yourmary@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/config.h')
-rw-r--r--library/cpp/protobuf/json/config.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/protobuf/json/config.h b/library/cpp/protobuf/json/config.h
index 4ebfa0b639..dc84fb4d5d 100644
--- a/library/cpp/protobuf/json/config.h
+++ b/library/cpp/protobuf/json/config.h
@@ -55,12 +55,12 @@ namespace NProtobufJson {
};
FldNameMode FieldNameMode = FieldNameOriginalCase;
- enum ExtFldNameMode {
- ExtFldNameFull = 0, // default, field.full_name()
- ExtFldNameShort // field.name()
- };
- ExtFldNameMode ExtensionFieldNameMode = ExtFldNameFull;
-
+ enum ExtFldNameMode {
+ ExtFldNameFull = 0, // default, field.full_name()
+ ExtFldNameShort // field.name()
+ };
+ ExtFldNameMode ExtensionFieldNameMode = ExtFldNameFull;
+
/// Use 'json_name' protobuf option for field name, mutually exclusive
/// with FieldNameMode.
bool UseJsonName = false;
@@ -125,11 +125,11 @@ namespace NProtobufJson {
return *this;
}
- TSelf& SetExtensionFieldNameMode(ExtFldNameMode mode) {
- ExtensionFieldNameMode = mode;
- return *this;
- }
-
+ TSelf& SetExtensionFieldNameMode(ExtFldNameMode mode) {
+ ExtensionFieldNameMode = mode;
+ return *this;
+ }
+
TSelf& AddStringTransform(TStringTransformPtr transform) {
StringTransforms.push_back(transform);
return *this;