Browse Source
This is a manual backport ofpull/135/head01a05a53f4(cherry picked from commitc580054e4f) Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
committed by
Steve Lhomme
2 changed files with 12 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
--- protobuf/src/google/protobuf/compiler/java/java_file.cc.old 2021-12-13 14:57:55.210153925 +0100
|
|||
+++ protobuf/src/google/protobuf/compiler/java/java_file.cc 2021-12-13 14:58:03.734181392 +0100
|
|||
@@ -65,7 +65,7 @@
|
|||
namespace { |
|||
|
|||
struct FieldDescriptorCompare { |
|||
- bool operator ()(const FieldDescriptor* f1, const FieldDescriptor* f2) {
|
|||
+ bool operator ()(const FieldDescriptor* f1, const FieldDescriptor* f2) const {
|
|||
if(f1 == NULL) { |
|||
return false; |
|||
} |
|||
Loading…
Reference in new issue