Skip to content

Commit dc4ced3

Browse files
authored
port/protobuf.h: Fix commit references (#280)
Regression from pull request #278 Signed-off-by: Sebastian Pipping <[email protected]>
1 parent 8d20dea commit dc4ced3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

port/protobuf.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace protobuf = google::protobuf;
6262

6363
inline bool RequiresUtf8Validation(
6464
const google::protobuf::FieldDescriptor& descriptor) {
65-
// commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >= v3.22.0
65+
// commit d85c9944c55fb38f4eae149979a0f680ea125ecb of >= v3(!).22.0
6666
#if GOOGLE_PROTOBUF_VERSION >= 4022000
6767
return descriptor.requires_utf8_validation();
6868
#else
@@ -88,7 +88,8 @@ inline bool HasPresence(const google::protobuf::FieldDescriptor& descriptor) {
8888
}
8989

9090
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
9293
#if GOOGLE_PROTOBUF_VERSION >= 3008000
9394
parser.SetRecursionLimit(100);
9495
parser.AllowUnknownField(true);

0 commit comments

Comments
 (0)