Skip to content

Commit 85c139c

Browse files
committed
fix: explicitly type default initializers for clarity
1 parent 1e874c9 commit 85c139c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/GraphQLService.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,9 +1446,9 @@ void OperationDefinitionVisitor::visit(
14461446
_resolverContext,
14471447
_params->state,
14481448
_params->directives,
1449-
{},
1450-
{},
1451-
{},
1449+
std::shared_ptr<FragmentDefinitionDirectiveStack> {},
1450+
std::shared_ptr<FragmentSpreadDirectiveStack> {},
1451+
std::shared_ptr<FragmentSpreadDirectiveStack> {},
14521452
std::nullopt,
14531453
_launch,
14541454
};
@@ -1863,10 +1863,10 @@ AwaitableSubscribe Request::subscribe(RequestSubscribeParams params)
18631863
ResolverContext::NotifySubscribe,
18641864
registration->data->state,
18651865
registration->data->directives,
1866-
{},
1867-
{},
1868-
{},
1869-
{},
1866+
std::shared_ptr<FragmentDefinitionDirectiveStack> {},
1867+
std::shared_ptr<FragmentSpreadDirectiveStack> {},
1868+
std::shared_ptr<FragmentSpreadDirectiveStack> {},
1869+
std::nullopt,
18701870
launch,
18711871
};
18721872

@@ -1925,10 +1925,10 @@ AwaitableUnsubscribe Request::unsubscribe(RequestUnsubscribeParams params)
19251925
ResolverContext::NotifyUnsubscribe,
19261926
registration->data->state,
19271927
registration->data->directives,
1928-
{},
1929-
{},
1930-
{},
1931-
{},
1928+
std::shared_ptr<FragmentDefinitionDirectiveStack> {},
1929+
std::shared_ptr<FragmentSpreadDirectiveStack> {},
1930+
std::shared_ptr<FragmentSpreadDirectiveStack> {},
1931+
std::nullopt,
19321932
params.launch,
19331933
};
19341934

0 commit comments

Comments
 (0)