Skip to content

Commit 597841a

Browse files
committed
cleanup
1 parent ce4abce commit 597841a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
#include <atomic>
2020
#include <new>
2121

22-
//#if SWIFT_CONCURRENCY_ENABLE_DISPATCH
23-
//#include <dispatch/dispatch.h>
24-
//#endif // SWIFT_CONCURRENCY_ENABLE_DISPATCH
25-
2622
#include "../CompatibilityOverride/CompatibilityOverride.h"
2723
#include "swift/ABI/Actor.h"
2824
#include "swift/ABI/Task.h"
@@ -347,7 +343,7 @@ static bool swift_task_isCurrentExecutorImpl(SerialExecutorRef executor) {
347343
return _task_serialExecutor_isSameExclusiveExecutionContext(
348344
currentExecutor.getIdentity(),
349345
executor.getIdentity(),
350-
currentExecutor.getIdentity() ? swift_getObjectType(currentExecutor.getIdentity()) : 0,
346+
swift_getObjectType(currentExecutor.getIdentity()),
351347
executor.getSerialExecutorWitnessTable());
352348
}
353349

0 commit comments

Comments
 (0)