aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/cpp
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@gmail.com>2017-03-20 09:51:31 -0700
committerGitHub <noreply@github.com>2017-03-20 09:51:31 -0700
commit20181f6a1a02ecbaa1db91465c652fa25393a0f2 (patch)
tree81c92391e1d3fdeb07a3587770786d52cc47cf22 /src/google/protobuf/compiler/cpp
parent4d273f28dc6fe9b4f1db78e76f19b1cf42210509 (diff)
parentb4b855cde4197de605d463630af9f0ea89583bca (diff)
downloadprotobuf-20181f6a1a02ecbaa1db91465c652fa25393a0f2.tar.gz
protobuf-20181f6a1a02ecbaa1db91465c652fa25393a0f2.tar.bz2
protobuf-20181f6a1a02ecbaa1db91465c652fa25393a0f2.zip
Merge pull request #2854 from hesmar/attributesFix
fix attributes warning
Diffstat (limited to 'src/google/protobuf/compiler/cpp')
-rw-r--r--src/google/protobuf/compiler/cpp/cpp_message.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/cpp/cpp_message.cc b/src/google/protobuf/compiler/cpp/cpp_message.cc
index 6274ba29..1373ffc2 100644
--- a/src/google/protobuf/compiler/cpp/cpp_message.cc
+++ b/src/google/protobuf/compiler/cpp/cpp_message.cc
@@ -1462,9 +1462,9 @@ GenerateClassDefinition(io::Printer* printer) {
// Some InitDefault and Shutdown are defined as static member functions of
// TableStruct such that they are also allowed to access private members.
printer->Print(
- "friend struct $dllexport_decl$ $file_namespace$::TableStruct;\n",
+ "friend struct $file_namespace$::TableStruct;\n",
// Vars.
- "dllexport_decl", options_.dllexport_decl, "file_namespace",
+ "file_namespace",
FileLevelNamespace(descriptor_->file()->name()));
printer->Outdent();