diff options
author | Bo Yang <teboring@google.com> | 2016-06-07 16:36:13 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-06-07 16:36:13 -0700 |
commit | 401e07d3726e91659228dff8ed9f7cb02026c47e (patch) | |
tree | 6c52433e5ff5237c766f3e0a5085b159a1defbee /src/google/protobuf/compiler/cpp/cpp_field.cc | |
parent | b60e615cba2131490c4b42d2b03de057407226d1 (diff) | |
download | protobuf-401e07d3726e91659228dff8ed9f7cb02026c47e.tar.gz protobuf-401e07d3726e91659228dff8ed9f7cb02026c47e.tar.bz2 protobuf-401e07d3726e91659228dff8ed9f7cb02026c47e.zip |
Add GOOGLE_ prefix before PROTOBUF_DEPRECATED_ATTR
Diffstat (limited to 'src/google/protobuf/compiler/cpp/cpp_field.cc')
-rw-r--r-- | src/google/protobuf/compiler/cpp/cpp_field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/cpp/cpp_field.cc b/src/google/protobuf/compiler/cpp/cpp_field.cc index b3ba3a2e..e2033c1a 100644 --- a/src/google/protobuf/compiler/cpp/cpp_field.cc +++ b/src/google/protobuf/compiler/cpp/cpp_field.cc @@ -78,7 +78,7 @@ void SetCommonFieldVariables(const FieldDescriptor* descriptor, (*variables)["deprecation"] = descriptor->options().deprecated() ? " PROTOBUF_DEPRECATED" : ""; (*variables)["deprecated_attr"] = descriptor->options().deprecated() - ? "PROTOBUF_DEPRECATED_ATTR " : ""; + ? "GOOGLE_PROTOBUF_DEPRECATED_ATTR " : ""; (*variables)["cppget"] = "Get"; |