diff --git a/README.md b/README.md index 9af1724..b3485e1 100644 --- a/README.md +++ b/README.md @@ -354,7 +354,7 @@ class MessageMediator: Mediator { func send(message: String, colleague: Colleague) { for c in colleagues { if c !== colleague { //for simplicity we compare object references - colleague.receive(message) + c.receive(message) } } }