We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51611ba commit 2f64092Copy full SHA for 2f64092
compiler/src/java_plugin/cpp/java_plugin.cpp
@@ -58,7 +58,11 @@ class JavaGrpcGenerator : public protobuf::compiler::CodeGenerator {
58
return protobuf::Edition::EDITION_PROTO2;
59
}
60
protobuf::Edition GetMaximumEdition() const override {
61
+#if GOOGLE_PROTOBUF_VERSION >= 6032000
62
+ return protobuf::Edition::EDITION_2024;
63
+#else
64
return protobuf::Edition::EDITION_2023;
65
+#endif
66
67
std::vector<const protobuf::FieldDescriptor*> GetFeatureExtensions()
68
const override {
0 commit comments