From 68d079e4a32ae525b236f956e8fc88c35eb8e24b Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 13 Jan 2023 18:25:52 +0100 Subject: Contrib: Adjust protobuf generator for latest include cleaned up output --- contrib/protoc-bnet/BnetFileGenerator.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'contrib/protoc-bnet/BnetFileGenerator.cpp') diff --git a/contrib/protoc-bnet/BnetFileGenerator.cpp b/contrib/protoc-bnet/BnetFileGenerator.cpp index 8b27621e106..a14ac971da6 100644 --- a/contrib/protoc-bnet/BnetFileGenerator.cpp +++ b/contrib/protoc-bnet/BnetFileGenerator.cpp @@ -328,8 +328,7 @@ void BnetFileGenerator::GenerateSource(pb::io::Printer* printer) "#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION\n" "#include \"$basename$.pb.h\"\n" "\n" - "#include \n" // for swap() - "#include \n" // for move() + "#include \n" // for swap() and move() "\n" "#include \n" "#include \n" @@ -354,11 +353,9 @@ void BnetFileGenerator::GenerateSource(pb::io::Printer* printer) "#include \n"); } - printer->Print("#include \"Log.h\"\n"); if (file_->service_count() > 0) { - printer->Print("#include \"Errors.h\"\n"); printer->Print("#include \"BattlenetRpcErrorCodes.h\"\n"); } -- cgit v1.2.3