File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 19
19
#include < atomic>
20
20
#include < new>
21
21
22
- // #if SWIFT_CONCURRENCY_ENABLE_DISPATCH
23
- // #include <dispatch/dispatch.h>
24
- // #endif // SWIFT_CONCURRENCY_ENABLE_DISPATCH
25
-
26
22
#include " ../CompatibilityOverride/CompatibilityOverride.h"
27
23
#include " swift/ABI/Actor.h"
28
24
#include " swift/ABI/Task.h"
@@ -347,7 +343,7 @@ static bool swift_task_isCurrentExecutorImpl(SerialExecutorRef executor) {
347
343
return _task_serialExecutor_isSameExclusiveExecutionContext (
348
344
currentExecutor.getIdentity (),
349
345
executor.getIdentity (),
350
- currentExecutor. getIdentity () ? swift_getObjectType (currentExecutor.getIdentity ()) : 0 ,
346
+ swift_getObjectType (currentExecutor.getIdentity ()),
351
347
executor.getSerialExecutorWitnessTable ());
352
348
}
353
349
You can’t perform that action at this time.
0 commit comments