Skip to content

Commit 3d36bde

Browse files
authored
Merge pull request #37782 from compnerd/qualified-friendship
Concurrency: silence some `-Wmicrosoft-extension` warnings (NFC)
2 parents ce619e9 + 420e85d commit 3d36bde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/Concurrency/AsyncLet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class AsyncLetImpl: public ChildTaskStatusRecord {
4444
// TODO: more additional flags here, we can use them for future optimizations.
4545
// e.g. "was awaited on" or "needs free"
4646

47-
friend class AsyncTask;
47+
friend class ::swift::AsyncTask;
4848

4949
public:
5050
explicit AsyncLetImpl(AsyncTask* task)

stdlib/public/Concurrency/TaskGroup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class TaskGroupImpl: public TaskGroupTaskStatusRecord {
292292
/// or `nullptr` if no task is currently waiting.
293293
std::atomic<AsyncTask *> waitQueue;
294294

295-
friend class AsyncTask;
295+
friend class ::swift::AsyncTask;
296296

297297
public:
298298
explicit TaskGroupImpl()

0 commit comments

Comments
 (0)