Skip to content

Commit a59ca20

Browse files
authored
Update Brain.cpp
1 parent cc5a818 commit a59ca20

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Brain.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Brain::Brain()
1111
createBodyParts();
1212
}
1313

14-
class Ear;
15-
1614
void Brain::createBodyParts()
1715
{
1816
ear = new Ear(this);
@@ -22,7 +20,6 @@ void Brain::createBodyParts()
2220
leg = new Leg(this);
2321
}
2422

25-
2623
void Brain::somethingHappenedToBodyPart(BodyPart* bodyPart)
2724
{
2825
// I'm so sorry, Barbara Liskov ;)
@@ -71,4 +68,4 @@ void Brain::somethingHappenedToBodyPart(BodyPart* bodyPart)
7168
{
7269
cout << "leg can also feel something if you would like it to\n";
7370
}
74-
}
71+
}

0 commit comments

Comments
 (0)