Skip to content

Commit 46cf3f9

Browse files
author
rafalh
committed
Make removeSubscription public
1 parent 22c229f commit 46cf3f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,11 +1502,11 @@ class [[nodiscard("unnecessary construction")]] Request
15021502
unsubscribe(RequestUnsubscribeParams params);
15031503
[[nodiscard("potentially leaked event")]] GRAPHQLSERVICE_EXPORT AwaitableDeliver deliver(
15041504
RequestDeliverParams params) const;
1505+
void removeSubscription(SubscriptionKey key);
15051506

15061507
private:
15071508
[[nodiscard("leaked subscription")]] SubscriptionKey addSubscription(
15081509
RequestSubscribeParams&& params);
1509-
void removeSubscription(SubscriptionKey key);
15101510
[[nodiscard("unnecessary call")]] std::vector<std::shared_ptr<const SubscriptionData>>
15111511
collectRegistrations(std::string_view field, RequestDeliverFilter&& filter) const noexcept;
15121512

0 commit comments

Comments
 (0)