From cdbe140f91d62447c060744b5de58f4d010f93ce Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 19 Jan 2017 17:36:30 +0100 Subject: Contrib: Fix protoc-bnet generator to initialize all fields in the constructor --- contrib/protoc-bnet/BnetFileGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/protoc-bnet/BnetFileGenerator.cpp') diff --git a/contrib/protoc-bnet/BnetFileGenerator.cpp b/contrib/protoc-bnet/BnetFileGenerator.cpp index 24e3a6ef63b..912a3d75a78 100644 --- a/contrib/protoc-bnet/BnetFileGenerator.cpp +++ b/contrib/protoc-bnet/BnetFileGenerator.cpp @@ -174,7 +174,7 @@ void BnetFileGenerator::GenerateHeader(pb::io::Printer* printer) printer->Print("#include \n"); } else - printer->Print("#include \"Define.h\" // for TC_SHARED_API\n"); + printer->Print("#include \"Define.h\" // for TC_PROTO_API\n"); printer->Print("// @@protoc_insertion_point(includes)\n"); -- cgit v1.2.3