diff options
author | Adam Cozzette <acozzette@gmail.com> | 2017-02-24 14:44:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-24 14:44:17 -0800 |
commit | 8387b88cdc9f60b6f5e9ab9e1a69de719f3751c1 (patch) | |
tree | 96d17080b24b9a572ee5fd34b747b5b2acdcbb3c /src | |
parent | 66c64e704580e0542108e7df62fb7eda0f002c68 (diff) | |
parent | 01a05a53f40ca2ac5f0af10c6cc0810bee39b792 (diff) |
Merge pull request #2732 from AsturaPhoenix/master
const FieldDescriptorCompare
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/java/java_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/java/java_file.cc b/src/google/protobuf/compiler/java/java_file.cc index cb4503f6..86719f70 100644 --- a/src/google/protobuf/compiler/java/java_file.cc +++ b/src/google/protobuf/compiler/java/java_file.cc @@ -65,7 +65,7 @@ namespace java { 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; } |