From 52c05e2f3da8043336f77deba36e1fefa53e61fd Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Thu, 19 Mar 2020 12:44:24 +0100 Subject: [PATCH] minor formatting for pull request --- container/ArrayList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container/ArrayList.h b/container/ArrayList.h index 57b2f94d..f978c984 100644 --- a/container/ArrayList.h +++ b/container/ArrayList.h @@ -223,7 +223,6 @@ public: return (maxSize_ - size); } - private: /** * This is the copy constructor @@ -236,6 +235,7 @@ private: ArrayList(const ArrayList& other) : size(other.size), entries(other.entries), maxSize_(other.maxSize_), allocated(false) {} + protected: /** * pointer to the array in which the entries are stored @@ -269,6 +269,6 @@ protected: ++i; } } - }; + #endif /* ARRAYLIST_H_ */