From b8b2ba102895ddb97d3afd21ac7ffebde9e02a9c Mon Sep 17 00:00:00 2001 From: Ian Dinwoodie Date: Sat, 27 Apr 2019 22:05:43 -0400 Subject: [PATCH] Updated simple factory example. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b97e18..dc8413d 100644 --- a/README.md +++ b/README.md @@ -157,8 +157,8 @@ Door door = DoorFactor::makeDoor(100, 200); printf("Width: %f\n", door.getWidth()); printf("Height: %f\n", door.getHeight()); -\\ Make another door with dimensions 50x100. -Door smallDoor = DoorFactor::makeDoor(50, 100); +\\ We can use the factory again to make a door with dimensions 50x100. +Door door2 = DoorFactor::makeDoor(50, 100); ``` #### When To Use