remove default value for the keepUnique argument of Builder.createEndCOWMutation

This avoids bugs because the default value false is sometimes not the right choice.
NFC
This commit is contained in:
Erik Eckstein
2023-12-06 15:39:59 +01:00
parent d4b1172537
commit bfeb2128cb
3 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ public struct Builder {
return notifyNew(metatype.getAs(MetatypeInst.self))
}
public func createEndCOWMutation(instance: Value, keepUnique: Bool = false) -> EndCOWMutationInst {
public func createEndCOWMutation(instance: Value, keepUnique: Bool) -> EndCOWMutationInst {
let endMutation = bridged.createEndCOWMutation(instance.bridged, keepUnique)
return notifyNew(endMutation.getAs(EndCOWMutationInst.self))
}