fix mismatched signature
This commit is contained in:
parent
91081cf6a6
commit
9ff07fdcce
@ -19,8 +19,7 @@ public extension MoleculeContainerModelProtocol {
|
||||
}
|
||||
|
||||
public extension MoleculeContainerModelProtocol where Self: AnyObject {
|
||||
|
||||
mutating func replaceMolecule(with replacementMolecule: MoleculeModelProtocol) throws -> Bool {
|
||||
mutating func replaceChildMolecule(with replacementMolecule: MoleculeModelProtocol) throws -> Bool {
|
||||
return try replaceChildMolecule(at: &molecule, with: replacementMolecule)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user