From 8a1a6ef910a00a1757ace97373317595899800f3 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Fri, 17 Nov 2023 22:36:56 +0000 Subject: [PATCH] Auto-generate files after cl/583486341 --- src/google/protobuf/any.pb.h | 10 +-- src/google/protobuf/api.pb.h | 30 +++++---- src/google/protobuf/duration.pb.h | 10 +-- src/google/protobuf/empty.pb.h | 10 +-- src/google/protobuf/field_mask.pb.h | 10 +-- src/google/protobuf/source_context.pb.h | 10 +-- src/google/protobuf/struct.pb.h | 30 +++++---- src/google/protobuf/timestamp.pb.h | 10 +-- src/google/protobuf/type.pb.h | 50 ++++++++------ src/google/protobuf/wrappers.pb.h | 90 +++++++++++++++---------- 10 files changed, 156 insertions(+), 104 deletions(-) diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index e8a4ec0e47..2595f04be6 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -75,10 +75,8 @@ class PROTOBUF_EXPORT Any final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Any(const Any& from) : Any(nullptr, from) {} - Any(Any&& from) noexcept : Any() { - *this = ::std::move(from); - } - + inline Any(Any&& from) noexcept + : Any(nullptr, std::move(from)) {} inline Any& operator=(const Any& from) { CopyFrom(from); return *this; @@ -227,6 +225,10 @@ class PROTOBUF_EXPORT Any final : public ::google::protobuf::Message protected: explicit Any(::google::protobuf::Arena* arena); Any(::google::protobuf::Arena* arena, const Any& from); + Any(::google::protobuf::Arena* arena, Any&& from) noexcept + : Any(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index 11e938b744..460e48232a 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -83,10 +83,8 @@ class PROTOBUF_EXPORT Mixin final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Mixin(const Mixin& from) : Mixin(nullptr, from) {} - Mixin(Mixin&& from) noexcept : Mixin() { - *this = ::std::move(from); - } - + inline Mixin(Mixin&& from) noexcept + : Mixin(nullptr, std::move(from)) {} inline Mixin& operator=(const Mixin& from) { CopyFrom(from); return *this; @@ -187,6 +185,10 @@ class PROTOBUF_EXPORT Mixin final : public ::google::protobuf::Message protected: explicit Mixin(::google::protobuf::Arena* arena); Mixin(::google::protobuf::Arena* arena, const Mixin& from); + Mixin(::google::protobuf::Arena* arena, Mixin&& from) noexcept + : Mixin(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -272,10 +274,8 @@ class PROTOBUF_EXPORT Method final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Method(const Method& from) : Method(nullptr, from) {} - Method(Method&& from) noexcept : Method() { - *this = ::std::move(from); - } - + inline Method(Method&& from) noexcept + : Method(nullptr, std::move(from)) {} inline Method& operator=(const Method& from) { CopyFrom(from); return *this; @@ -376,6 +376,10 @@ class PROTOBUF_EXPORT Method final : public ::google::protobuf::Message protected: explicit Method(::google::protobuf::Arena* arena); Method(::google::protobuf::Arena* arena, const Method& from); + Method(::google::protobuf::Arena* arena, Method&& from) noexcept + : Method(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -535,10 +539,8 @@ class PROTOBUF_EXPORT Api final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Api(const Api& from) : Api(nullptr, from) {} - Api(Api&& from) noexcept : Api() { - *this = ::std::move(from); - } - + inline Api(Api&& from) noexcept + : Api(nullptr, std::move(from)) {} inline Api& operator=(const Api& from) { CopyFrom(from); return *this; @@ -639,6 +641,10 @@ class PROTOBUF_EXPORT Api final : public ::google::protobuf::Message protected: explicit Api(::google::protobuf::Arena* arena); Api(::google::protobuf::Arena* arena, const Api& from); + Api(::google::protobuf::Arena* arena, Api&& from) noexcept + : Api(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index 3ef4b390b3..816a6d715b 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -75,10 +75,8 @@ class PROTOBUF_EXPORT Duration final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Duration(const Duration& from) : Duration(nullptr, from) {} - Duration(Duration&& from) noexcept : Duration() { - *this = ::std::move(from); - } - + inline Duration(Duration&& from) noexcept + : Duration(nullptr, std::move(from)) {} inline Duration& operator=(const Duration& from) { CopyFrom(from); return *this; @@ -179,6 +177,10 @@ class PROTOBUF_EXPORT Duration final : public ::google::protobuf::Message protected: explicit Duration(::google::protobuf::Arena* arena); Duration(::google::protobuf::Arena* arena, const Duration& from); + Duration(::google::protobuf::Arena* arena, Duration&& from) noexcept + : Duration(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/empty.pb.h b/src/google/protobuf/empty.pb.h index c79297ee19..75f41a09d3 100644 --- a/src/google/protobuf/empty.pb.h +++ b/src/google/protobuf/empty.pb.h @@ -75,10 +75,8 @@ class PROTOBUF_EXPORT Empty final : public ::google::protobuf::internal::ZeroFie ::google::protobuf::internal::ConstantInitialized); inline Empty(const Empty& from) : Empty(nullptr, from) {} - Empty(Empty&& from) noexcept : Empty() { - *this = ::std::move(from); - } - + inline Empty(Empty&& from) noexcept + : Empty(nullptr, std::move(from)) {} inline Empty& operator=(const Empty& from) { CopyFrom(from); return *this; @@ -164,6 +162,10 @@ class PROTOBUF_EXPORT Empty final : public ::google::protobuf::internal::ZeroFie protected: explicit Empty(::google::protobuf::Arena* arena); Empty(::google::protobuf::Arena* arena, const Empty& from); + Empty(::google::protobuf::Arena* arena, Empty&& from) noexcept + : Empty(arena) { + *this = ::std::move(from); + } public: ::google::protobuf::Metadata GetMetadata() const final; diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index 1df7e4ffd7..0c3b691377 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -75,10 +75,8 @@ class PROTOBUF_EXPORT FieldMask final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline FieldMask(const FieldMask& from) : FieldMask(nullptr, from) {} - FieldMask(FieldMask&& from) noexcept : FieldMask() { - *this = ::std::move(from); - } - + inline FieldMask(FieldMask&& from) noexcept + : FieldMask(nullptr, std::move(from)) {} inline FieldMask& operator=(const FieldMask& from) { CopyFrom(from); return *this; @@ -179,6 +177,10 @@ class PROTOBUF_EXPORT FieldMask final : public ::google::protobuf::Message protected: explicit FieldMask(::google::protobuf::Arena* arena); FieldMask(::google::protobuf::Arena* arena, const FieldMask& from); + FieldMask(::google::protobuf::Arena* arena, FieldMask&& from) noexcept + : FieldMask(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 69caa86c67..be61ddf335 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -75,10 +75,8 @@ class PROTOBUF_EXPORT SourceContext final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline SourceContext(const SourceContext& from) : SourceContext(nullptr, from) {} - SourceContext(SourceContext&& from) noexcept : SourceContext() { - *this = ::std::move(from); - } - + inline SourceContext(SourceContext&& from) noexcept + : SourceContext(nullptr, std::move(from)) {} inline SourceContext& operator=(const SourceContext& from) { CopyFrom(from); return *this; @@ -179,6 +177,10 @@ class PROTOBUF_EXPORT SourceContext final : public ::google::protobuf::Message protected: explicit SourceContext(::google::protobuf::Arena* arena); SourceContext(::google::protobuf::Arena* arena, const SourceContext& from); + SourceContext(::google::protobuf::Arena* arena, SourceContext&& from) noexcept + : SourceContext(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index a05631169c..a63e058066 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -120,10 +120,8 @@ class PROTOBUF_EXPORT ListValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline ListValue(const ListValue& from) : ListValue(nullptr, from) {} - ListValue(ListValue&& from) noexcept : ListValue() { - *this = ::std::move(from); - } - + inline ListValue(ListValue&& from) noexcept + : ListValue(nullptr, std::move(from)) {} inline ListValue& operator=(const ListValue& from) { CopyFrom(from); return *this; @@ -224,6 +222,10 @@ class PROTOBUF_EXPORT ListValue final : public ::google::protobuf::Message protected: explicit ListValue(::google::protobuf::Arena* arena); ListValue(::google::protobuf::Arena* arena, const ListValue& from); + ListValue(::google::protobuf::Arena* arena, ListValue&& from) noexcept + : ListValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -293,10 +295,8 @@ class PROTOBUF_EXPORT Struct final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Struct(const Struct& from) : Struct(nullptr, from) {} - Struct(Struct&& from) noexcept : Struct() { - *this = ::std::move(from); - } - + inline Struct(Struct&& from) noexcept + : Struct(nullptr, std::move(from)) {} inline Struct& operator=(const Struct& from) { CopyFrom(from); return *this; @@ -397,6 +397,10 @@ class PROTOBUF_EXPORT Struct final : public ::google::protobuf::Message protected: explicit Struct(::google::protobuf::Arena* arena); Struct(::google::protobuf::Arena* arena, const Struct& from); + Struct(::google::protobuf::Arena* arena, Struct&& from) noexcept + : Struct(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -494,10 +498,8 @@ class PROTOBUF_EXPORT Value final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Value(const Value& from) : Value(nullptr, from) {} - Value(Value&& from) noexcept : Value() { - *this = ::std::move(from); - } - + inline Value(Value&& from) noexcept + : Value(nullptr, std::move(from)) {} inline Value& operator=(const Value& from) { CopyFrom(from); return *this; @@ -607,6 +609,10 @@ class PROTOBUF_EXPORT Value final : public ::google::protobuf::Message protected: explicit Value(::google::protobuf::Arena* arena); Value(::google::protobuf::Arena* arena, const Value& from); + Value(::google::protobuf::Arena* arena, Value&& from) noexcept + : Value(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index 24e8bf843d..e987282c60 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -75,10 +75,8 @@ class PROTOBUF_EXPORT Timestamp final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Timestamp(const Timestamp& from) : Timestamp(nullptr, from) {} - Timestamp(Timestamp&& from) noexcept : Timestamp() { - *this = ::std::move(from); - } - + inline Timestamp(Timestamp&& from) noexcept + : Timestamp(nullptr, std::move(from)) {} inline Timestamp& operator=(const Timestamp& from) { CopyFrom(from); return *this; @@ -179,6 +177,10 @@ class PROTOBUF_EXPORT Timestamp final : public ::google::protobuf::Message protected: explicit Timestamp(::google::protobuf::Arena* arena); Timestamp(::google::protobuf::Arena* arena, const Timestamp& from); + Timestamp(::google::protobuf::Arena* arena, Timestamp&& from) noexcept + : Timestamp(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index a7de6dfc81..6ba9d797ed 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -209,10 +209,8 @@ class PROTOBUF_EXPORT Option final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Option(const Option& from) : Option(nullptr, from) {} - Option(Option&& from) noexcept : Option() { - *this = ::std::move(from); - } - + inline Option(Option&& from) noexcept + : Option(nullptr, std::move(from)) {} inline Option& operator=(const Option& from) { CopyFrom(from); return *this; @@ -313,6 +311,10 @@ class PROTOBUF_EXPORT Option final : public ::google::protobuf::Message protected: explicit Option(::google::protobuf::Arena* arena); Option(::google::protobuf::Arena* arena, const Option& from); + Option(::google::protobuf::Arena* arena, Option&& from) noexcept + : Option(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -398,10 +400,8 @@ class PROTOBUF_EXPORT Field final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Field(const Field& from) : Field(nullptr, from) {} - Field(Field&& from) noexcept : Field() { - *this = ::std::move(from); - } - + inline Field(Field&& from) noexcept + : Field(nullptr, std::move(from)) {} inline Field& operator=(const Field& from) { CopyFrom(from); return *this; @@ -502,6 +502,10 @@ class PROTOBUF_EXPORT Field final : public ::google::protobuf::Message protected: explicit Field(::google::protobuf::Arena* arena); Field(::google::protobuf::Arena* arena, const Field& from); + Field(::google::protobuf::Arena* arena, Field&& from) noexcept + : Field(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -760,10 +764,8 @@ class PROTOBUF_EXPORT EnumValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline EnumValue(const EnumValue& from) : EnumValue(nullptr, from) {} - EnumValue(EnumValue&& from) noexcept : EnumValue() { - *this = ::std::move(from); - } - + inline EnumValue(EnumValue&& from) noexcept + : EnumValue(nullptr, std::move(from)) {} inline EnumValue& operator=(const EnumValue& from) { CopyFrom(from); return *this; @@ -864,6 +866,10 @@ class PROTOBUF_EXPORT EnumValue final : public ::google::protobuf::Message protected: explicit EnumValue(::google::protobuf::Arena* arena); EnumValue(::google::protobuf::Arena* arena, const EnumValue& from); + EnumValue(::google::protobuf::Arena* arena, EnumValue&& from) noexcept + : EnumValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -963,10 +969,8 @@ class PROTOBUF_EXPORT Type final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Type(const Type& from) : Type(nullptr, from) {} - Type(Type&& from) noexcept : Type() { - *this = ::std::move(from); - } - + inline Type(Type&& from) noexcept + : Type(nullptr, std::move(from)) {} inline Type& operator=(const Type& from) { CopyFrom(from); return *this; @@ -1067,6 +1071,10 @@ class PROTOBUF_EXPORT Type final : public ::google::protobuf::Message protected: explicit Type(::google::protobuf::Arena* arena); Type(::google::protobuf::Arena* arena, const Type& from); + Type(::google::protobuf::Arena* arena, Type&& from) noexcept + : Type(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -1252,10 +1260,8 @@ class PROTOBUF_EXPORT Enum final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Enum(const Enum& from) : Enum(nullptr, from) {} - Enum(Enum&& from) noexcept : Enum() { - *this = ::std::move(from); - } - + inline Enum(Enum&& from) noexcept + : Enum(nullptr, std::move(from)) {} inline Enum& operator=(const Enum& from) { CopyFrom(from); return *this; @@ -1356,6 +1362,10 @@ class PROTOBUF_EXPORT Enum final : public ::google::protobuf::Message protected: explicit Enum(::google::protobuf::Arena* arena); Enum(::google::protobuf::Arena* arena, const Enum& from); + Enum(::google::protobuf::Arena* arena, Enum&& from) noexcept + : Enum(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index c62b675ea5..9f8881b99c 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -99,10 +99,8 @@ class PROTOBUF_EXPORT UInt64Value final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline UInt64Value(const UInt64Value& from) : UInt64Value(nullptr, from) {} - UInt64Value(UInt64Value&& from) noexcept : UInt64Value() { - *this = ::std::move(from); - } - + inline UInt64Value(UInt64Value&& from) noexcept + : UInt64Value(nullptr, std::move(from)) {} inline UInt64Value& operator=(const UInt64Value& from) { CopyFrom(from); return *this; @@ -203,6 +201,10 @@ class PROTOBUF_EXPORT UInt64Value final : public ::google::protobuf::Message protected: explicit UInt64Value(::google::protobuf::Arena* arena); UInt64Value(::google::protobuf::Arena* arena, const UInt64Value& from); + UInt64Value(::google::protobuf::Arena* arena, UInt64Value&& from) noexcept + : UInt64Value(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -264,10 +266,8 @@ class PROTOBUF_EXPORT UInt32Value final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline UInt32Value(const UInt32Value& from) : UInt32Value(nullptr, from) {} - UInt32Value(UInt32Value&& from) noexcept : UInt32Value() { - *this = ::std::move(from); - } - + inline UInt32Value(UInt32Value&& from) noexcept + : UInt32Value(nullptr, std::move(from)) {} inline UInt32Value& operator=(const UInt32Value& from) { CopyFrom(from); return *this; @@ -368,6 +368,10 @@ class PROTOBUF_EXPORT UInt32Value final : public ::google::protobuf::Message protected: explicit UInt32Value(::google::protobuf::Arena* arena); UInt32Value(::google::protobuf::Arena* arena, const UInt32Value& from); + UInt32Value(::google::protobuf::Arena* arena, UInt32Value&& from) noexcept + : UInt32Value(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -429,10 +433,8 @@ class PROTOBUF_EXPORT StringValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline StringValue(const StringValue& from) : StringValue(nullptr, from) {} - StringValue(StringValue&& from) noexcept : StringValue() { - *this = ::std::move(from); - } - + inline StringValue(StringValue&& from) noexcept + : StringValue(nullptr, std::move(from)) {} inline StringValue& operator=(const StringValue& from) { CopyFrom(from); return *this; @@ -533,6 +535,10 @@ class PROTOBUF_EXPORT StringValue final : public ::google::protobuf::Message protected: explicit StringValue(::google::protobuf::Arena* arena); StringValue(::google::protobuf::Arena* arena, const StringValue& from); + StringValue(::google::protobuf::Arena* arena, StringValue&& from) noexcept + : StringValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -600,10 +606,8 @@ class PROTOBUF_EXPORT Int64Value final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Int64Value(const Int64Value& from) : Int64Value(nullptr, from) {} - Int64Value(Int64Value&& from) noexcept : Int64Value() { - *this = ::std::move(from); - } - + inline Int64Value(Int64Value&& from) noexcept + : Int64Value(nullptr, std::move(from)) {} inline Int64Value& operator=(const Int64Value& from) { CopyFrom(from); return *this; @@ -704,6 +708,10 @@ class PROTOBUF_EXPORT Int64Value final : public ::google::protobuf::Message protected: explicit Int64Value(::google::protobuf::Arena* arena); Int64Value(::google::protobuf::Arena* arena, const Int64Value& from); + Int64Value(::google::protobuf::Arena* arena, Int64Value&& from) noexcept + : Int64Value(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -765,10 +773,8 @@ class PROTOBUF_EXPORT Int32Value final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline Int32Value(const Int32Value& from) : Int32Value(nullptr, from) {} - Int32Value(Int32Value&& from) noexcept : Int32Value() { - *this = ::std::move(from); - } - + inline Int32Value(Int32Value&& from) noexcept + : Int32Value(nullptr, std::move(from)) {} inline Int32Value& operator=(const Int32Value& from) { CopyFrom(from); return *this; @@ -869,6 +875,10 @@ class PROTOBUF_EXPORT Int32Value final : public ::google::protobuf::Message protected: explicit Int32Value(::google::protobuf::Arena* arena); Int32Value(::google::protobuf::Arena* arena, const Int32Value& from); + Int32Value(::google::protobuf::Arena* arena, Int32Value&& from) noexcept + : Int32Value(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -930,10 +940,8 @@ class PROTOBUF_EXPORT FloatValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline FloatValue(const FloatValue& from) : FloatValue(nullptr, from) {} - FloatValue(FloatValue&& from) noexcept : FloatValue() { - *this = ::std::move(from); - } - + inline FloatValue(FloatValue&& from) noexcept + : FloatValue(nullptr, std::move(from)) {} inline FloatValue& operator=(const FloatValue& from) { CopyFrom(from); return *this; @@ -1034,6 +1042,10 @@ class PROTOBUF_EXPORT FloatValue final : public ::google::protobuf::Message protected: explicit FloatValue(::google::protobuf::Arena* arena); FloatValue(::google::protobuf::Arena* arena, const FloatValue& from); + FloatValue(::google::protobuf::Arena* arena, FloatValue&& from) noexcept + : FloatValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -1095,10 +1107,8 @@ class PROTOBUF_EXPORT DoubleValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline DoubleValue(const DoubleValue& from) : DoubleValue(nullptr, from) {} - DoubleValue(DoubleValue&& from) noexcept : DoubleValue() { - *this = ::std::move(from); - } - + inline DoubleValue(DoubleValue&& from) noexcept + : DoubleValue(nullptr, std::move(from)) {} inline DoubleValue& operator=(const DoubleValue& from) { CopyFrom(from); return *this; @@ -1199,6 +1209,10 @@ class PROTOBUF_EXPORT DoubleValue final : public ::google::protobuf::Message protected: explicit DoubleValue(::google::protobuf::Arena* arena); DoubleValue(::google::protobuf::Arena* arena, const DoubleValue& from); + DoubleValue(::google::protobuf::Arena* arena, DoubleValue&& from) noexcept + : DoubleValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -1260,10 +1274,8 @@ class PROTOBUF_EXPORT BytesValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline BytesValue(const BytesValue& from) : BytesValue(nullptr, from) {} - BytesValue(BytesValue&& from) noexcept : BytesValue() { - *this = ::std::move(from); - } - + inline BytesValue(BytesValue&& from) noexcept + : BytesValue(nullptr, std::move(from)) {} inline BytesValue& operator=(const BytesValue& from) { CopyFrom(from); return *this; @@ -1364,6 +1376,10 @@ class PROTOBUF_EXPORT BytesValue final : public ::google::protobuf::Message protected: explicit BytesValue(::google::protobuf::Arena* arena); BytesValue(::google::protobuf::Arena* arena, const BytesValue& from); + BytesValue(::google::protobuf::Arena* arena, BytesValue&& from) noexcept + : BytesValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final; @@ -1431,10 +1447,8 @@ class PROTOBUF_EXPORT BoolValue final : public ::google::protobuf::Message ::google::protobuf::internal::ConstantInitialized); inline BoolValue(const BoolValue& from) : BoolValue(nullptr, from) {} - BoolValue(BoolValue&& from) noexcept : BoolValue() { - *this = ::std::move(from); - } - + inline BoolValue(BoolValue&& from) noexcept + : BoolValue(nullptr, std::move(from)) {} inline BoolValue& operator=(const BoolValue& from) { CopyFrom(from); return *this; @@ -1535,6 +1549,10 @@ class PROTOBUF_EXPORT BoolValue final : public ::google::protobuf::Message protected: explicit BoolValue(::google::protobuf::Arena* arena); BoolValue(::google::protobuf::Arena* arena, const BoolValue& from); + BoolValue(::google::protobuf::Arena* arena, BoolValue&& from) noexcept + : BoolValue(arena) { + *this = ::std::move(from); + } const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;