fix mismatched signature

This commit is contained in:
Hedden, Kyle Matthew 2023-09-18 19:37:54 -04:00
parent 91081cf6a6
commit 9ff07fdcce

View File

@ -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)
}
}