File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -223,8 +223,7 @@ static_assert(graphql::internal::MinorVersion == )cpp"
223
223
{
224
224
pendingSeparator.reset ();
225
225
226
- headerFile << R"cpp( enum class )cpp" << _schemaLoader.getCppType (enumType->name ())
227
- << R"cpp(
226
+ headerFile << R"cpp( enum class )cpp" << _schemaLoader.getCppType (enumType->name ()) << R"cpp(
228
227
{
229
228
)cpp" ;
230
229
for (const auto & enumValue : enumType->enumValues ())
@@ -796,6 +795,9 @@ template <>
796
795
}
797
796
break ;
798
797
}
798
+
799
+ default :
800
+ break ;
799
801
}
800
802
801
803
sourceFile << R"cpp( }
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ ErrorPathSegment parseServiceErrorPathSegment(response::Value&& segment)
55
55
case response::Type::String:
56
56
result = segment.release <response::StringType>();
57
57
break ;
58
+
59
+ default :
60
+ break ;
58
61
}
59
62
60
63
return result;
Original file line number Diff line number Diff line change @@ -961,6 +961,9 @@ void RequestLoader::collectEnums(const ResponseField& responseField) noexcept
961
961
962
962
break ;
963
963
}
964
+
965
+ default :
966
+ break ;
964
967
}
965
968
}
966
969
@@ -1105,6 +1108,9 @@ void RequestLoader::SelectionVisitor::visitField(const peg::ast_node& field)
1105
1108
1106
1109
break ;
1107
1110
}
1111
+
1112
+ default :
1113
+ break ;
1108
1114
}
1109
1115
}
1110
1116
You can’t perform that action at this time.
0 commit comments