aboutsummaryrefslogtreecommitdiff
path: root/week10/Exercise06/GradeWithName.cpp
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-05-08 10:07:57 +0300
committerSyndamia <kamen@syndamia.com>2024-05-08 10:07:57 +0300
commit75cff007b4896eed49b758be0959668673ae1bf3 (patch)
tree6af017d6047c78bce05af166fdbe85cae40692b5 /week10/Exercise06/GradeWithName.cpp
parent6dd52a7c9d8db3e8b14494ae99e8b9f3b76d1262 (diff)
downloadoop-2023-solutions-75cff007b4896eed49b758be0959668673ae1bf3.tar
oop-2023-solutions-75cff007b4896eed49b758be0959668673ae1bf3.tar.gz
oop-2023-solutions-75cff007b4896eed49b758be0959668673ae1bf3.zip
[w10] Fixed mistakes in certain exercises
Diffstat (limited to 'week10/Exercise06/GradeWithName.cpp')
-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);
}