@@ -1020,7 +1020,9 @@ struct [[nodiscard]] ast_input
1020
1020
1021
1021
ast parseSchemaString (std::string_view input, size_t depthLimit)
1022
1022
{
1023
- ast result { std::make_shared<ast_input>(ast_string { { input.cbegin (), input.cend () } }), {} };
1023
+ ast result { std::make_shared<ast_input>(
1024
+ ast_input { ast_string { { input.cbegin (), input.cend () } } }),
1025
+ {} };
1024
1026
auto & data = std::get<ast_string>(result.input ->data );
1025
1027
1026
1028
try
@@ -1081,7 +1083,9 @@ ast parseSchemaFile(std::string_view filename, size_t depthLimit)
1081
1083
1082
1084
ast parseString (std::string_view input, size_t depthLimit)
1083
1085
{
1084
- ast result { std::make_shared<ast_input>(ast_string { { input.cbegin (), input.cend () } }), {} };
1086
+ ast result { std::make_shared<ast_input>(
1087
+ ast_input { ast_string { { input.cbegin (), input.cend () } } }),
1088
+ {} };
1085
1089
auto & data = std::get<ast_string>(result.input ->data );
1086
1090
1087
1091
try
@@ -1146,7 +1150,8 @@ ast parseFile(std::string_view filename, size_t depthLimit)
1146
1150
1147
1151
peg::ast operator " " _graphql(const char * text, size_t size)
1148
1152
{
1149
- peg::ast result { std::make_shared<peg::ast_input>(peg::ast_string_view { { text, size } }),
1153
+ peg::ast result { std::make_shared<peg::ast_input>(
1154
+ peg::ast_input { peg::ast_string_view { { text, size } } }),
1150
1155
{} };
1151
1156
auto & data = std::get<peg::ast_string_view>(result.input ->data );
1152
1157
0 commit comments