Skip to content

Commit 293db02

Browse files
snarkmasterfacebook-github-bot
authored andcommitted
Remove one friend from NowTask.h
Summary: Thanks to the general availability of `getUnsafeMover()`, I no longer need this friendship. Reviewed By: ispeters Differential Revision: D71009341 fbshipit-source-id: 72643c617d223174720fa415dce4c390882861b8
1 parent a73963f commit 293db02

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

folly/coro/safe/NowTask.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ enum class safe_alias;
4949

5050
namespace folly::coro {
5151

52-
namespace detail {
53-
template <auto>
54-
auto bind_captures_to_closure(auto&&, auto);
55-
}
5652
template <safe_alias, typename>
5753
class BackgroundTask;
5854

@@ -115,9 +111,6 @@ class FOLLY_CORO_TASK_ATTRS NowTask final : public detail::NowTaskBase<T> {
115111
friend auto toNowTask(SafeTask<S, U>);
116112
template <typename U> // can construct & `unwrapTask`
117113
friend auto toNowTask(NowTask<U>);
118-
// `async_now_closure` wraps `NowTask`s into `NowTask`s
119-
template <auto> // can `unwrapTask`
120-
friend auto detail::bind_captures_to_closure(auto&&, auto);
121114
};
122115

123116
// NB: `toNowTask(SafeTask)` is in `SafeTask.h` to avoid circular deps.

0 commit comments

Comments
 (0)