We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d3ae62 + ec72a27 commit c251cd8Copy full SHA for c251cd8
include/swift/AST/ActorIsolation.h
@@ -100,11 +100,11 @@ class ActorIsolation {
100
silParsed(isSILParsed), parameterIndex(0) {}
101
102
static ActorIsolation forUnspecified() {
103
- return ActorIsolation(Unspecified, nullptr);
+ return ActorIsolation(Unspecified);
104
}
105
106
static ActorIsolation forNonisolated(bool unsafe) {
107
- return ActorIsolation(unsafe ? NonisolatedUnsafe : Nonisolated, nullptr);
+ return ActorIsolation(unsafe ? NonisolatedUnsafe : Nonisolated);
108
109
110
static ActorIsolation forActorInstanceSelf(ValueDecl *decl);
0 commit comments