aboutsummaryrefslogtreecommitdiff
path: root/contrib/protoc-bnet/BnetFileGenerator.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-01-19 17:36:30 +0100
committerShauren <shauren.trinity@gmail.com>2017-01-19 17:36:30 +0100
commitcdbe140f91d62447c060744b5de58f4d010f93ce (patch)
treedc591b68786aa328699799fe86ff91c93fb11cdb /contrib/protoc-bnet/BnetFileGenerator.cpp
parenteccbbe304ca277ec86dc16f3fe9b1c746748cba1 (diff)
Contrib: Fix protoc-bnet generator to initialize all fields in the constructor
Diffstat (limited to 'contrib/protoc-bnet/BnetFileGenerator.cpp')
-rw-r--r--contrib/protoc-bnet/BnetFileGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
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 <type_traits>\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");