File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ namespace protobuf = google::protobuf;
62
62
63
63
inline bool RequiresUtf8Validation (
64
64
const google::protobuf::FieldDescriptor& descriptor) {
65
- // commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >= v3.22.0
65
+ // commit d85c9944c55fb38f4eae149979a0f680ea125ecb of >= v3(!) .22.0
66
66
#if GOOGLE_PROTOBUF_VERSION >= 4022000
67
67
return descriptor.requires_utf8_validation ();
68
68
#else
@@ -88,7 +88,8 @@ inline bool HasPresence(const google::protobuf::FieldDescriptor& descriptor) {
88
88
}
89
89
90
90
inline void PrepareTextParser (google::protobuf::TextFormat::Parser& parser) {
91
- // commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >=3.8.0
91
+ // commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >=3.8.0 for .SetRecursionLimit
92
+ // commit 176f7db11d8242b36a3ea6abb1cc436fca5bf75d of >=3.8.0 for .AllowUnknownField
92
93
#if GOOGLE_PROTOBUF_VERSION >= 3008000
93
94
parser.SetRecursionLimit (100 );
94
95
parser.AllowUnknownField (true );
You can’t perform that action at this time.
0 commit comments