diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2016-09-22 17:46:22 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2016-09-23 11:55:26 -0700 |
commit | 0798d91f5554bf6916e9a3dc5abe62170fdace19 (patch) | |
tree | 5d2033fb19a7870c5330f929e21bd9856f27a669 /src/google/protobuf/duration.pb.cc | |
parent | 3bfc09d54836f24e6182a3a6b0a4c115347b63a9 (diff) | |
download | protobuf-0798d91f5554bf6916e9a3dc5abe62170fdace19.tar.gz protobuf-0798d91f5554bf6916e9a3dc5abe62170fdace19.tar.bz2 protobuf-0798d91f5554bf6916e9a3dc5abe62170fdace19.zip |
Fix Visual Studio compile issues.
Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e
Diffstat (limited to 'src/google/protobuf/duration.pb.cc')
-rw-r--r-- | src/google/protobuf/duration.pb.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index 29b60820..f7cc647f 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -71,15 +71,15 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace void protobuf_ShutdownFile_google_2fprotobuf_2fduration_2eproto() { - Duration::default_instance_.Shutdown(); + Duration_default_instance_.Shutdown(); delete Duration_reflection_; } void protobuf_InitDefaults_google_2fprotobuf_2fduration_2eproto_impl() { GOOGLE_PROTOBUF_VERIFY_VERSION; - Duration::default_instance_.DefaultConstruct(); - Duration::default_instance_.get_mutable()->InitAsDefaultInstance(); + Duration_default_instance_.DefaultConstruct(); + Duration_default_instance_.get_mutable()->InitAsDefaultInstance(); } GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_google_2fprotobuf_2fduration_2eproto_once_); @@ -200,7 +200,7 @@ const Duration& Duration::default_instance() { return *internal_default_instance(); } -::google::protobuf::internal::ExplicitlyConstructed<Duration> Duration::default_instance_; +::google::protobuf::internal::ExplicitlyConstructed<Duration> Duration_default_instance_; Duration* Duration::New(::google::protobuf::Arena* arena) const { return ::google::protobuf::Arena::CreateMessage<Duration>(arena); @@ -465,6 +465,9 @@ void Duration::set_nanos(::google::protobuf::int32 value) { // @@protoc_insertion_point(field_set:google.protobuf.Duration.nanos) } +inline const Duration* Duration::internal_default_instance() { + return &Duration_default_instance_.get(); +} #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) |