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"
223223 {
224224 pendingSeparator.reset ();
225225
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(
228227{
229228)cpp" ;
230229 for (const auto & enumValue : enumType->enumValues ())
@@ -796,6 +795,9 @@ template <>
796795 }
797796 break ;
798797 }
798+
799+ default :
800+ break ;
799801 }
800802
801803 sourceFile << R"cpp( }
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ ErrorPathSegment parseServiceErrorPathSegment(response::Value&& segment)
5555 case response::Type::String:
5656 result = segment.release <response::StringType>();
5757 break ;
58+
59+ default :
60+ break ;
5861 }
5962
6063 return result;
Original file line number Diff line number Diff line change @@ -961,6 +961,9 @@ void RequestLoader::collectEnums(const ResponseField& responseField) noexcept
961961
962962 break ;
963963 }
964+
965+ default :
966+ break ;
964967 }
965968}
966969
@@ -1105,6 +1108,9 @@ void RequestLoader::SelectionVisitor::visitField(const peg::ast_node& field)
11051108
11061109 break ;
11071110 }
1111+
1112+ default :
1113+ break ;
11081114 }
11091115 }
11101116
You can’t perform that action at this time.
0 commit comments