aboutsummaryrefslogtreecommitdiff
path: root/week10/Exercise06
diff options
context:
space:
mode:
Diffstat (limited to 'week10/Exercise06')
-rw-r--r--week10/Exercise06/GradeWithName.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/week10/Exercise06/GradeWithName.cpp b/week10/Exercise06/GradeWithName.cpp
index 4a1b0b2..fb31a5f 100644
--- a/week10/Exercise06/GradeWithName.cpp
+++ b/week10/Exercise06/GradeWithName.cpp
@@ -21,7 +21,7 @@ GradeWithName::~GradeWithName() {
free();
}
-GradeWithName::GradeWithName(const GradeWithName& other) {
+GradeWithName::GradeWithName(const GradeWithName& other) : Grade(other) {
copyFrom(other);
}