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.
1 parent ca3a7f4 commit ec72a27Copy full SHA for ec72a27
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