|
|
|
@ -721,11 +721,7 @@ class PROTOBUF_EXPORT UninterpretedOption_NamePart final |
|
|
|
|
} |
|
|
|
|
inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -935,11 +931,7 @@ class PROTOBUF_EXPORT SourceCodeInfo_Location final |
|
|
|
|
} |
|
|
|
|
inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -1216,11 +1208,7 @@ class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final |
|
|
|
|
} |
|
|
|
|
inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -1492,11 +1480,7 @@ class PROTOBUF_EXPORT FieldOptions_FeatureSupport final |
|
|
|
|
} |
|
|
|
|
inline FieldOptions_FeatureSupport& operator=(FieldOptions_FeatureSupport&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -1727,11 +1711,7 @@ class PROTOBUF_EXPORT FieldOptions_EditionDefault final |
|
|
|
|
} |
|
|
|
|
inline FieldOptions_EditionDefault& operator=(FieldOptions_EditionDefault&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -1936,11 +1916,7 @@ class PROTOBUF_EXPORT FeatureSet final |
|
|
|
|
} |
|
|
|
|
inline FeatureSet& operator=(FeatureSet&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -2497,11 +2473,7 @@ class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final |
|
|
|
|
} |
|
|
|
|
inline ExtensionRangeOptions_Declaration& operator=(ExtensionRangeOptions_Declaration&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -2751,11 +2723,7 @@ class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final |
|
|
|
|
} |
|
|
|
|
inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -2954,11 +2922,7 @@ class PROTOBUF_EXPORT DescriptorProto_ReservedRange final |
|
|
|
|
} |
|
|
|
|
inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -3157,11 +3121,7 @@ class PROTOBUF_EXPORT UninterpretedOption final |
|
|
|
|
} |
|
|
|
|
inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -3455,11 +3415,7 @@ class PROTOBUF_EXPORT SourceCodeInfo final |
|
|
|
|
} |
|
|
|
|
inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -3651,11 +3607,7 @@ class PROTOBUF_EXPORT GeneratedCodeInfo final |
|
|
|
|
} |
|
|
|
|
inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -3847,11 +3799,7 @@ class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final |
|
|
|
|
} |
|
|
|
|
inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -4076,11 +4024,7 @@ class PROTOBUF_EXPORT ServiceOptions final |
|
|
|
|
} |
|
|
|
|
inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -4487,11 +4431,7 @@ class PROTOBUF_EXPORT OneofOptions final |
|
|
|
|
} |
|
|
|
|
inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -4885,11 +4825,7 @@ class PROTOBUF_EXPORT MethodOptions final |
|
|
|
|
} |
|
|
|
|
inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -5329,11 +5265,7 @@ class PROTOBUF_EXPORT MessageOptions final |
|
|
|
|
} |
|
|
|
|
inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -5792,11 +5724,7 @@ class PROTOBUF_EXPORT FileOptions final |
|
|
|
|
} |
|
|
|
|
inline FileOptions& operator=(FileOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -6517,11 +6445,7 @@ class PROTOBUF_EXPORT FieldOptions final |
|
|
|
|
} |
|
|
|
|
inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -7178,11 +7102,7 @@ class PROTOBUF_EXPORT FeatureSetDefaults final |
|
|
|
|
} |
|
|
|
|
inline FeatureSetDefaults& operator=(FeatureSetDefaults&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -7406,11 +7326,7 @@ class PROTOBUF_EXPORT ExtensionRangeOptions final |
|
|
|
|
} |
|
|
|
|
inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -7856,11 +7772,7 @@ class PROTOBUF_EXPORT EnumValueOptions final |
|
|
|
|
} |
|
|
|
|
inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -8297,11 +8209,7 @@ class PROTOBUF_EXPORT EnumOptions final |
|
|
|
|
} |
|
|
|
|
inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -8734,11 +8642,7 @@ class PROTOBUF_EXPORT OneofDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -8952,11 +8856,7 @@ class PROTOBUF_EXPORT MethodDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -9234,11 +9134,7 @@ class PROTOBUF_EXPORT FieldDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -9648,11 +9544,7 @@ class PROTOBUF_EXPORT EnumValueDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -9879,11 +9771,7 @@ class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final |
|
|
|
|
} |
|
|
|
|
inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -10104,11 +9992,7 @@ class PROTOBUF_EXPORT ServiceDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -10341,11 +10225,7 @@ class PROTOBUF_EXPORT EnumDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -10622,11 +10502,7 @@ class PROTOBUF_EXPORT DescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -10999,11 +10875,7 @@ class PROTOBUF_EXPORT FileDescriptorProto final |
|
|
|
|
} |
|
|
|
|
inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
@ -11425,11 +11297,7 @@ class PROTOBUF_EXPORT FileDescriptorSet final |
|
|
|
|
} |
|
|
|
|
inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
|
|
|
|
if (this == &from) return *this; |
|
|
|
|
if (GetArena() == from.GetArena() |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
|
|
|
|
&& GetArena() != nullptr |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
|
|
|
) { |
|
|
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
|
|
|
|
InternalSwap(&from); |
|
|
|
|
} else { |
|
|
|
|
CopyFrom(from); |
|
|
|
|