aboutsummaryrefslogtreecommitdiff
path: root/week02/Exercise1.cpp
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-03-07 13:50:01 +0200
committerSyndamia <kamen@syndamia.com>2024-03-07 13:50:01 +0200
commit83474fef7d7b495502db0c0a22665f43739dd8b9 (patch)
treeea41a400023d436cea88cff163778062f9969a18 /week02/Exercise1.cpp
parent664e51f10e951f238d8c72d443441741d70f05b8 (diff)
downloadoop-2023-solutions-83474fef7d7b495502db0c0a22665f43739dd8b9.tar
oop-2023-solutions-83474fef7d7b495502db0c0a22665f43739dd8b9.tar.gz
oop-2023-solutions-83474fef7d7b495502db0c0a22665f43739dd8b9.zip
[w2/ex1] Fixed weird getAuthors
Diffstat (limited to 'week02/Exercise1.cpp')
-rw-r--r--week02/Exercise1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/week02/Exercise1.cpp b/week02/Exercise1.cpp
index cb0e0c2..2131625 100644
--- a/week02/Exercise1.cpp
+++ b/week02/Exercise1.cpp
@@ -39,8 +39,7 @@ public:
return true;
}
- int getAuthors(char** ref) {
- ref = authors;
+ int getAuthors() {
return authorsCount;
}
bool setAuthors(char** newAuthors, int count) {