Skip to content

Commit fc21337

Browse files
David Orriss Jrochococo
David Orriss Jr
authored andcommitted
fix compiler error for template pattern with swift 5.2
1 parent 2fa16b1 commit fc21337

File tree

1 file changed

+3
-3
lines changed
  • Design-Patterns.playground/Pages/Behavioral.xcplaygroundpage

1 file changed

+3
-3
lines changed

Design-Patterns.playground/Pages/Behavioral.xcplaygroundpage/Contents.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,9 @@ protocol Garden {
636636
extension Garden {
637637

638638
func prepareGarden() {
639-
func prepareSoil()
640-
func plantSeeds()
641-
func waterPlants()
639+
func prepareSoil() {}
640+
func plantSeeds() {}
641+
func waterPlants() {}
642642
}
643643
}
644644

0 commit comments

Comments
 (0)