Skip to content

Commit 162a129

Browse files
committed
Concurrency: avoid elaborated types (NFC)
The current type elaboration does not match the elaborated type as defined. This causes a warning. Prefer to use the unelaborated type to avoid having to synchronise the declaration and definition.
1 parent 753d545 commit 162a129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/CompatibilityOverride/CompatibilityOverrideConcurrency.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@
108108

109109
OVERRIDE_ACTOR(task_enqueue, void,
110110
SWIFT_EXPORT_FROM(swift_Concurrency), SWIFT_CC(swift),
111-
swift::, (class Job *job, ExecutorRef executor),
111+
swift::, (Job *job, ExecutorRef executor),
112112
(job, executor))
113113

114114
OVERRIDE_ACTOR(job_run, void,
115115
SWIFT_EXPORT_FROM(swift_Concurrency), SWIFT_CC(swift),
116-
swift::, (class Job *job, ExecutorRef executor),
116+
swift::, (Job *job, ExecutorRef executor),
117117
(job, executor))
118118

119119
OVERRIDE_ACTOR(task_getCurrentExecutor, ExecutorRef,

0 commit comments

Comments
 (0)