aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/any.pb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/any.pb.cc')
-rw-r--r--src/google/protobuf/any.pb.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc
index bc56164c..0df8d168 100644
--- a/src/google/protobuf/any.pb.cc
+++ b/src/google/protobuf/any.pb.cc
@@ -71,7 +71,7 @@ void protobuf_RegisterTypes(const ::std::string&) {
} // namespace
void protobuf_ShutdownFile_google_2fprotobuf_2fany_2eproto() {
- Any::default_instance_.Shutdown();
+ Any_default_instance_.Shutdown();
delete Any_reflection_;
}
@@ -79,8 +79,8 @@ void protobuf_InitDefaults_google_2fprotobuf_2fany_2eproto_impl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::internal::GetEmptyString();
- Any::default_instance_.DefaultConstruct();
- Any::default_instance_.get_mutable()->InitAsDefaultInstance();
+ Any_default_instance_.DefaultConstruct();
+ Any_default_instance_.get_mutable()->InitAsDefaultInstance();
}
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_google_2fprotobuf_2fany_2eproto_once_);
@@ -196,7 +196,7 @@ const Any& Any::default_instance() {
return *internal_default_instance();
}
-::google::protobuf::internal::ExplicitlyConstructed<Any> Any::default_instance_;
+::google::protobuf::internal::ExplicitlyConstructed<Any> Any_default_instance_;
Any* Any::New(::google::protobuf::Arena* arena) const {
Any* n = new Any;
@@ -510,6 +510,9 @@ void Any::set_allocated_value(::std::string* value) {
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.value)
}
+inline const Any* Any::internal_default_instance() {
+ return &Any_default_instance_.get();
+}
#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
// @@protoc_insertion_point(namespace_scope)