From 83474fef7d7b495502db0c0a22665f43739dd8b9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 7 Mar 2024 13:50:01 +0200 Subject: [w2/ex1] Fixed weird getAuthors --- week02/Exercise1.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'week02/Exercise1.cpp') 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) { -- cgit v1.2.3