diff options
author | nechda <nechda@yandex-team.com> | 2024-08-29 23:50:27 +0300 |
---|---|---|
committer | nechda <nechda@yandex-team.com> | 2024-08-30 00:05:25 +0300 |
commit | e10d6638f07a82edae3ea8197b9f5c0affcc07ea (patch) | |
tree | 571c38cec05813766a1ad290c9d51ce7ace52919 /contrib/libs/protoc/src/google/protobuf/compiler/java/file.h | |
parent | e79b38f2bbbf78d295d1901d2a79f898022d5224 (diff) | |
download | ydb-e10d6638f07a82edae3ea8197b9f5c0affcc07ea.tar.gz |
Update cpp-protobuf to 22.5
Привет!\
Этот PR переключат cpp & python библиотеки protobuf на версию 22.5
Если у вас возникли проблемы после влития этого PR:
1. Если начали падать канон тесты, то проведите их переканонизацию
2. Прочитайте <https://wiki.yandex-team.ru/users/nechda/obnovlenie-cpp-protobuf-22.5/> страничку с основными изменениями
3. Если страничка в вики не помогла, то пишите в [DEVTOOLSSUPPORT](https://st.yandex-team.ru/DEVTOOLSSUPPORT)
7fecade616c20a841b9e9af7b7998bdfc8d2807d
Diffstat (limited to 'contrib/libs/protoc/src/google/protobuf/compiler/java/file.h')
-rw-r--r-- | contrib/libs/protoc/src/google/protobuf/compiler/java/file.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/libs/protoc/src/google/protobuf/compiler/java/file.h b/contrib/libs/protoc/src/google/protobuf/compiler/java/file.h index 0063a18816..c8934c4bfe 100644 --- a/contrib/libs/protoc/src/google/protobuf/compiler/java/file.h +++ b/contrib/libs/protoc/src/google/protobuf/compiler/java/file.h @@ -39,8 +39,8 @@ #include <string> #include <vector> -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/compiler/java/options.h> +#include "google/protobuf/compiler/java/options.h" +#include "google/protobuf/port.h" namespace google { namespace protobuf { @@ -70,6 +70,8 @@ class FileGenerator { public: FileGenerator(const FileDescriptor* file, const Options& options, bool immutable_api = true); + FileGenerator(const FileGenerator&) = delete; + FileGenerator& operator=(const FileGenerator&) = delete; ~FileGenerator(); // Checks for problems that would otherwise lead to cryptic compile errors. @@ -80,6 +82,7 @@ class FileGenerator { void Generate(io::Printer* printer); TProtoStringType GetKotlinClassname(); + void GenerateKotlin(io::Printer* printer); void GenerateKotlinSiblings(const TProtoStringType& package_dir, GeneratorContext* generator_context, std::vector<TProtoStringType>* file_list, @@ -114,8 +117,6 @@ class FileGenerator { ClassNameResolver* name_resolver_; const Options options_; bool immutable_api_; - - GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator); }; } // namespace java |