Skip to content

Commit e385f73

Browse files
committed
Fix base constructor call
1 parent c587194 commit e385f73

File tree

1 file changed

+2
-2
lines changed
  • src/BehavioralPatterns/State/StateLibrary/SteakCookingExample/States/Common

1 file changed

+2
-2
lines changed

src/BehavioralPatterns/State/StateLibrary/SteakCookingExample/States/Common/Doneness.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
/// <summary>
44
/// Doneness is a gauge of how thoroughly cooked a cut of meat is based on
5-
/// itscolour, juiciness, and internal temperature when cooked.
5+
/// its color, juiciness, and internal temperature when cooked.
66
/// In this example we use celsisus degree as a unit of temperature measurment.
77
/// </summary>
88
public abstract class Doneness
@@ -15,7 +15,7 @@ public abstract class Doneness
1515
protected int _temperatureChangeStep;
1616

1717
protected Doneness(Doneness state)
18-
: base()
18+
: this()
1919
{
2020
_steak = state.Steak;
2121
_currentTemperature = state.CurrentTemperature;

0 commit comments

Comments
 (0)