1 parent d54c8c9 commit 21d6c71Copy full SHA for 21d6c71
1 file changed
compiler/src/java_plugin/cpp/java_plugin.cpp
@@ -58,7 +58,9 @@ 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
+#if GOOGLE_PROTOBUF_VERSION >= 6036000
62
+ return protobuf::Edition::EDITION_2026;
63
+#elif GOOGLE_PROTOBUF_VERSION >= 6032000
64
return protobuf::Edition::EDITION_2024;
65
#else
66
return protobuf::Edition::EDITION_2023;
0 commit comments