@@ -280,9 +280,8 @@ static_assert(graphql::internal::MinorVersion == )cpp"
280280 {
281281 if (firstField)
282282 {
283- headerFile << R"cpp( ) noexcept = default;
284- explicit )cpp" << cppType
285- << R"cpp( ()cpp" ;
283+ headerFile << R"cpp( ) noexcept;
284+ explicit )cpp" << cppType << R"cpp( ()cpp" ;
286285 }
287286 else
288287 {
@@ -304,6 +303,7 @@ static_assert(graphql::internal::MinorVersion == )cpp"
304303 << cppType << R"cpp( & other);
305304 )cpp" << cppType << R"cpp( ()cpp"
306305 << cppType << R"cpp( && other) noexcept;
306+ ~)cpp" << cppType << R"cpp( ();
307307
308308 )cpp" << cppType << R"cpp( & operator=(const )cpp"
309309 << cppType << R"cpp( & other);
@@ -646,7 +646,12 @@ using namespace std::literals;
646646
647647 pendingSeparator.reset ();
648648
649- sourceFile << cppType << R"cpp( ::)cpp" << cppType << R"cpp( ()cpp" ;
649+ sourceFile << cppType << R"cpp( ::)cpp" << cppType << R"cpp( () noexcept
650+ {
651+ }
652+
653+ )cpp" << cppType << R"cpp( ::)cpp"
654+ << cppType << R"cpp( ()cpp" ;
650655
651656 bool firstField = true ;
652657
@@ -728,10 +733,16 @@ using namespace std::literals;
728733 sourceFile << R"cpp( {
729734}
730735
736+ )cpp" << cppType << R"cpp( ::~)cpp"
737+ << cppType << R"cpp( ()
738+ {
739+ }
740+
731741)cpp" << cppType << R"cpp( & )cpp"
732742 << cppType << R"cpp( ::operator=(const )cpp" << cppType << R"cpp( & other)
733743{
734- return *this = )cpp" << cppType << R"cpp( { other };
744+ return *this = )cpp"
745+ << cppType << R"cpp( { other };
735746}
736747
737748)cpp" << cppType << R"cpp( & )cpp"
@@ -1036,21 +1047,20 @@ Response parseResponse(response::Value&& response)
10361047
10371048[[nodiscard]] const std::string& Traits::GetRequestText() noexcept
10381049{
1039- return )cpp"
1040- << _schemaLoader. getSchemaNamespace () << R"cpp( ::GetRequestText();
1050+ return )cpp" << _schemaLoader. getSchemaNamespace ()
1051+ << R"cpp( ::GetRequestText();
10411052}
10421053
10431054[[nodiscard]] const peg::ast& Traits::GetRequestObject() noexcept
10441055{
1045- return )cpp"
1046- << _schemaLoader. getSchemaNamespace () << R"cpp( ::GetRequestObject();
1056+ return )cpp" << _schemaLoader. getSchemaNamespace ()
1057+ << R"cpp( ::GetRequestObject();
10471058}
10481059
10491060[[nodiscard]] const std::string& Traits::GetOperationName() noexcept
10501061{
1051- return )cpp"
1052- << _requestLoader.getOperationNamespace (operation)
1053- << R"cpp( ::GetOperationName();
1062+ return )cpp" << _requestLoader.getOperationNamespace (operation)
1063+ << R"cpp( ::GetOperationName();
10541064}
10551065)cpp" ;
10561066
@@ -1060,17 +1070,16 @@ Response parseResponse(response::Value&& response)
10601070[[nodiscard]] response::Value Traits::serializeVariables(Traits::Variables&& variables)
10611071{
10621072 return )cpp" << _requestLoader.getOperationNamespace (operation)
1063- << R"cpp( ::serializeVariables(std::move(variables));
1073+ << R"cpp( ::serializeVariables(std::move(variables));
10641074}
10651075)cpp" ;
10661076 }
10671077
10681078 sourceFile << R"cpp(
10691079[[nodiscard]] Traits::Response Traits::parseResponse(response::Value&& response)
10701080{
1071- return )cpp"
1072- << _requestLoader.getOperationNamespace (operation)
1073- << R"cpp( ::parseResponse(std::move(response));
1081+ return )cpp" << _requestLoader.getOperationNamespace (operation)
1082+ << R"cpp( ::parseResponse(std::move(response));
10741083}
10751084
10761085)cpp" ;
0 commit comments