diff options
| author | Syndamia <kamen@syndamia.com> | 2024-03-07 13:50:01 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2024-03-07 13:50:01 +0200 |
| commit | 83474fef7d7b495502db0c0a22665f43739dd8b9 (patch) | |
| tree | ea41a400023d436cea88cff163778062f9969a18 | |
| parent | 664e51f10e951f238d8c72d443441741d70f05b8 (diff) | |
| download | oop-2023-solutions-83474fef7d7b495502db0c0a22665f43739dd8b9.tar oop-2023-solutions-83474fef7d7b495502db0c0a22665f43739dd8b9.tar.gz oop-2023-solutions-83474fef7d7b495502db0c0a22665f43739dd8b9.zip | |
[w2/ex1] Fixed weird getAuthors
| -rw-r--r-- | week02/Exercise1.cpp | 3 |
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) { |
