File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,9 @@ class PROTOBUF_EXPORT TextFormat {
420
420
}
421
421
}
422
422
423
+ // Sets whether strings will be redacted and thus unparsable.
424
+ void SetRedactDebugString (bool redact) { redact_debug_string_ = redact; }
425
+
423
426
// Register a custom field-specific FastFieldValuePrinter for fields
424
427
// with a particular FieldDescriptor.
425
428
// Returns "true" if the registration succeeded, or "false", if there is
@@ -459,9 +462,6 @@ class PROTOBUF_EXPORT TextFormat {
459
462
// Sets whether silent markers will be inserted.
460
463
void SetInsertSilentMarker (bool v) { insert_silent_marker_ = v; }
461
464
462
- // Sets whether strings will be redacted and thus unparsable.
463
- void SetRedactDebugString (bool redact) { redact_debug_string_ = redact; }
464
-
465
465
// Sets whether the output string should be made non-deterministic.
466
466
// This discourages equality checks based on serialized string comparisons.
467
467
void SetRandomizeDebugString (bool randomize) {
You can’t perform that action at this time.
0 commit comments