@@ -266,9 +266,10 @@ CompleteTaskInput& CompleteTaskInput::operator=(const CompleteTaskInput& other)
266266
267267CompleteTaskInput& CompleteTaskInput::operator =(CompleteTaskInput&& other) noexcept
268268{
269- CompleteTaskInput value { std::move (other) };
270-
271- std::swap (*this , value);
269+ id = std::move (other.id );
270+ testTaskState = std::move (other.testTaskState );
271+ isComplete = std::move (other.isComplete );
272+ clientMutationId = std::move (other.clientMutationId );
272273
273274 return *this ;
274275}
@@ -304,9 +305,8 @@ ThirdNestedInput& ThirdNestedInput::operator=(const ThirdNestedInput& other)
304305
305306ThirdNestedInput& ThirdNestedInput::operator =(ThirdNestedInput&& other) noexcept
306307{
307- ThirdNestedInput value { std::move (other) };
308-
309- std::swap (*this , value);
308+ id = std::move (other.id );
309+ second = std::move (other.second );
310310
311311 return *this ;
312312}
@@ -338,9 +338,7 @@ FourthNestedInput& FourthNestedInput::operator=(const FourthNestedInput& other)
338338
339339FourthNestedInput& FourthNestedInput::operator =(FourthNestedInput&& other) noexcept
340340{
341- FourthNestedInput value { std::move (other) };
342-
343- std::swap (*this , value);
341+ id = std::move (other.id );
344342
345343 return *this ;
346344}
@@ -372,9 +370,7 @@ IncludeNullableSelfInput& IncludeNullableSelfInput::operator=(const IncludeNulla
372370
373371IncludeNullableSelfInput& IncludeNullableSelfInput::operator =(IncludeNullableSelfInput&& other) noexcept
374372{
375- IncludeNullableSelfInput value { std::move (other) };
376-
377- std::swap (*this , value);
373+ self = std::move (other.self );
378374
379375 return *this ;
380376}
@@ -406,9 +402,7 @@ IncludeNonNullableListSelfInput& IncludeNonNullableListSelfInput::operator=(cons
406402
407403IncludeNonNullableListSelfInput& IncludeNonNullableListSelfInput::operator =(IncludeNonNullableListSelfInput&& other) noexcept
408404{
409- IncludeNonNullableListSelfInput value { std::move (other) };
410-
411- std::swap (*this , value);
405+ selves = std::move (other.selves );
412406
413407 return *this ;
414408}
@@ -484,9 +478,18 @@ StringOperationFilterInput& StringOperationFilterInput::operator=(const StringOp
484478
485479StringOperationFilterInput& StringOperationFilterInput::operator =(StringOperationFilterInput&& other) noexcept
486480{
487- StringOperationFilterInput value { std::move (other) };
488-
489- std::swap (*this , value);
481+ and_ = std::move (other.and_ );
482+ or_ = std::move (other.or_ );
483+ equal = std::move (other.equal );
484+ notEqual = std::move (other.notEqual );
485+ contains = std::move (other.contains );
486+ notContains = std::move (other.notContains );
487+ in = std::move (other.in );
488+ notIn = std::move (other.notIn );
489+ startsWith = std::move (other.startsWith );
490+ notStartsWith = std::move (other.notStartsWith );
491+ endsWith = std::move (other.endsWith );
492+ notEndsWith = std::move (other.notEndsWith );
490493
491494 return *this ;
492495}
@@ -522,9 +525,8 @@ SecondNestedInput& SecondNestedInput::operator=(const SecondNestedInput& other)
522525
523526SecondNestedInput& SecondNestedInput::operator =(SecondNestedInput&& other) noexcept
524527{
525- SecondNestedInput value { std::move (other) };
526-
527- std::swap (*this , value);
528+ id = std::move (other.id );
529+ third = std::move (other.third );
528530
529531 return *this ;
530532}
@@ -560,9 +562,8 @@ ForwardDeclaredInput& ForwardDeclaredInput::operator=(const ForwardDeclaredInput
560562
561563ForwardDeclaredInput& ForwardDeclaredInput::operator =(ForwardDeclaredInput&& other) noexcept
562564{
563- ForwardDeclaredInput value { std::move (other) };
564-
565- std::swap (*this , value);
565+ nullableSelf = std::move (other.nullableSelf );
566+ listSelves = std::move (other.listSelves );
566567
567568 return *this ;
568569}
@@ -602,9 +603,9 @@ FirstNestedInput& FirstNestedInput::operator=(const FirstNestedInput& other)
602603
603604FirstNestedInput& FirstNestedInput::operator =(FirstNestedInput&& other) noexcept
604605{
605- FirstNestedInput value { std::move (other) } ;
606-
607- std::swap (* this , value );
606+ id = std::move (other. id ) ;
607+ second = std::move (other. second );
608+ third = std::move (other. third );
608609
609610 return *this ;
610611}
0 commit comments